openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r841236 [34/35] - in /websites/staging/openjpa/trunk/content: ./ artifacts/ css/ images/ images/datacache-plugin/
Date Sun, 09 Dec 2012 13:13:50 GMT
Added: websites/staging/openjpa/trunk/content/testing.html
==============================================================================
--- websites/staging/openjpa/trunk/content/testing.html (added)
+++ websites/staging/openjpa/trunk/content/testing.html Sun Dec  9 13:13:35 2012
@@ -0,0 +1,367 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<html lang="en">
+    <head>
+        <META http-equiv="Content-Type" content="text/html;charset=UTF-8" />
+        <link href="http://openjpa.apache.org/styles/site.css" rel="stylesheet" type="text/css"/>
+        <!-- <link href="http://openjpa.apache.org/styles/type-settings.css" rel="stylesheet" type="text/css"/> -->
+        <link href="./css/type-settings.css" rel="stylesheet" type="text/css"/>
+        <LINK rel="schema.DC" href="http://purl.org/DC/elements/1.0/">
+        <META name="Description" content="Apache OpenJPA -- Testing
" />
+        <META name="Keywords" content="Apache OpenJPA, JPA, JPA 1.0, JSR-220, JPA2, JPA 2.0, JSR-317, " />
+        <META name="Owner" content="dev@openjpa.apache.org" />
+        <META name="Robots" content="index, follow" />
+        <META name="Security" content="Public" />
+        <META name="Source" content="wiki template" />
+        <META name="DC.Date" scheme="iso8601" content="2010-08-11" />
+        <META name="DC.Language" scheme="rfc1766" content="en" />
+        <META name="DC.Rights" content="Copyright © 2006,2010 The Apache Software Foundation" />
+        <META http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))'/>
+
+        <title>
+            Apache OpenJPA --
+        </title>
+    </head>
+    <body>
+        <div class="white_box">
+            <div class="header">
+                <div class="header_l">
+                    <div class="header_r">
+                    </div>
+                </div>
+            </div>
+            <div class="content">
+                <div class="content_l">
+                    <div class="content_r">
+                        <div>
+                            <!-- Banner -->
+                            <TABLE valign="top" border="0" cellspacing="0" cellpadding="5" width="100%" background="images/header-bg3.png">
+                                <TR>
+                                    <TD valing="top" align="left">
+                                        <A href="http://openjpa.apache.org/"><IMG src="images/openjpa-logo.png" border="0" alt="OpenJPA Logo"></A>
+                                    </TD>
+                                    <TD width="100%">
+                                        &nbsp;
+                                    </TD>
+                                    <TD valing="top" align="right">
+                                        <A href="http://www.apache.org/"><IMG src="images/asf_logo_wide2.png" border="0" alt="ASF Logo"></A>
+                                    </TD>
+                                </TR>
+                            </TABLE>
+
+                            <!-- Navigation Bar -->
+                            <div class="bottom_red_bar">
+                                <div id="site-breadcrumbs">
+                                    <!-- Breadcrumbs --
+                                    <a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/testing.html">Testing
</a>
+                                     -- Breadcrumbs -->
+                                </div>
+                            </div>
+
+                            <!-- Content -->
+                            <table border="0">
+                                <tbody>
+                                    <tr>
+                                        <td valign="top">
+                                            <div class="navigation">
+                                                <div class="navigation_top">
+                                                    <div class="navigation_bottom">
+                                                        <!-- NavigationBar -->
+                                                        <h3><a name="SideNav-Overview"></a><a href="overview.html" title="Overview">Overview</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="quick-start.html" title="Quick Start">Quick Start</a></li>
+                                                            <li><a href="documentation.html" title="Documentation">Documentation</a></li>
+                                                            <li><a href="downloads.html" title="Downloads">Downloads</a></li>
+                                                            <li><a href="site-index.html" title="Site Index">Site Index</a></li>
+                                                            <li><a href="license.html" title="License">License</a></li>
+                                                            <li><a href="privacy-policy.html" title="Privacy Policy">Privacy Policy</a></li>
+                                                        </ul>
+
+                                                        <h3><a name="SideNav-Community"></a><a href="community.html" title="Community">Community</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="index.html#Index-eventsandnews" title="Events and News">Events and News</a></li>
+                                                            <li><a href="found-a-bug.html" title="Found a Bug">Found a Bug</a>?</li>
+                                                            <li><a href="get-involved.html" title="Get Involved">Get Involved</a></li>
+                                                            <li><a href="mailing-lists.html" title="Mailing Lists">Mailing Lists</a></li>
+                                                            <li><a href="committers.html" title="Committers">Committers</a></li>
+                                                            <li><a href="integration.html" title="Integration">Integration</a></li>
+                                                            <li><a href="powered-by.html" title="Powered By">Powered By</a></li>
+                                                            <li><a href="thanks.html" title="Thanks">Thanks</a></li>
+                                                        </ul>
+
+
+                                                        <h3><a name="SideNav-Development"></a><a href="development.html" title="Development">Development</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="http://issues.apache.org/jira/browse/OPENJPA" class="external-link" rel="nofollow">Issue Tracker</a></li>
+                                                            <li><a href="source-code.html" title="Source Code">Source Code</a></li>
+                                                            <li><a href="testing.html" title="Testing">Testing</a></li>
+                                                            <li><a href="tools.html" title="Tools">Tools</a></li>
+                                                            <li><a href="samples.html" title="Samples">Samples</a></li>
+                                                            <li><a href="release-management.html" title="Release Management">Release Management</a></li>
+                                                        </ul>
+
+                                                        <h3>Search</h3>
+
+                                                        <div style="padding: 5px 5px 0px 25px;">
+                                                            <form action="http://www.google.com/search" method="get" style="font-size: 10px;">
+                                                                <input name="ie" type="hidden" value="UTF-8">
+                                                                <input name="oe" type="hidden" value="UTF-8">
+                                                                <input maxlength="255" name="q" size="9" type="text" value=""><br><br>
+                                                                <input name="btnG" type="submit" value="Google">
+                                                                <input name="domains" type="hidden" value="openjpa.apache.org">
+                                                                <input name="sitesearch" type="hidden" value="openjpa.apache.org">
+                                                            </form>
+                                                        </div>
+                                                    </div>
+                                                </div>
+                                            </div>
+                                        </td>
+                                        <td valign="top" width="100%" style="overflow:hidden;">
+                                            <div class="wiki-content">
+                                                <p><a name="Testing"></a></p>
+<h1 id="running-and-writing-tests-with-openjpa">Running and <a href="writing-test-cases-for-openjpa.html">Writing</a> Tests with OpenJPA</h1>
+<p>OpenJPA's unit tests are written using JUnit. For a template for a simple
+test case, see the code for <a href="http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/simple/TestPersistence.java?view=markup">TestPersistence.java</a>
+.</p>
+<p>If you want to contribute your own test case then follow the <a href="writing-test-cases-for-openjpa.html">guidelines</a>
+.</p>
+<p>Once you have downloaded and built OpenJPA (see <a href="building.html">Building</a>
+), you can run individual tests using the "test" goal to maven. For
+example:</p>
+<div class="codehilite"><pre><span class="n">mvn</span> <span class="n">test</span> <span class="o">-</span><span class="n">DfailIfNoTests</span><span class="o">=</span><span class="n">false</span> <span class="o">-</span><span class="n">Dtest</span><span class="o">=</span><span class="n">TestPersistence</span>
+</pre></div>
+
+
+<p><table class="note"><tr>
+  <td valign="top"> <IMG src="images/warning.gif" width="16" height="16" border="0">
+  <td>By default Maven will fail if there are no testcases found in any
+module you build. The examples solve this by specifying
+-DfailIfNoTests=false but you can also change your personal default by
+adding the following to ${user.home}/.m2/settings.xml :</p>
+<div class="codehilite"><pre>    <span class="nt">&lt;profile&gt;</span>
+        <span class="nt">&lt;id&gt;</span>enable-no-tests<span class="nt">&lt;/id&gt;</span>
+        <span class="nt">&lt;activation&gt;</span>
+        <span class="nt">&lt;activeByDefault&gt;</span>true<span class="nt">&lt;/activeByDefault&gt;</span>
+        <span class="nt">&lt;/activation&gt;</span>
+        <span class="nt">&lt;properties&gt;</span>
+        <span class="nt">&lt;failIfNoTests&gt;</span>false<span class="nt">&lt;/failIfNoTests&gt;</span>
+        <span class="nt">&lt;/properties&gt;</span>
+    <span class="nt">&lt;/profile&gt;</span>
+</pre></div>
+
+
+<p></tr></table></p>
+<p>To get more debugging information (e.g., to see the SQL that is being
+executed against the database), you can enable trace-level logging from the
+command line using the "openjpa.Log" system property. For example:</p>
+<div class="codehilite"><pre><span class="nv">$</span> <span class="nv">mvn</span> <span class="n">test</span> <span class="o">-</span><span class="n">DfailIfNoTests</span><span class="o">=</span><span class="n">false</span> <span class="o">-</span><span class="n">Dtest</span><span class="o">=</span><span class="n">TestPersistence</span> <span class="o">-</span><span class="n">Dopenjpa</span><span class="o">.</span><span class="n">Log</span><span class="o">=</span><span class="n">DefaultLevel</span><span class="o">=</span><span class="n">TRACE</span>
+
+<span class="p">[</span><span class="n">INFO</span><span class="p">]</span> <span class="n">Scanning</span> <span class="k">for</span> <span class="n">projects</span><span class="o">...</span>
+<span class="p">[</span><span class="n">INFO</span><span class="p">]</span> <span class="n">Reactor</span> <span class="n">build</span> <span class="n">order:</span> 
+<span class="o">...</span>
+<span class="mi">690</span>  <span class="n">test</span>  <span class="n">TRACE</span>  <span class="p">[</span><span class="n">main</span><span class="p">]</span> <span class="n">openjpa</span><span class="o">.</span><span class="n">jdbc</span><span class="o">.</span><span class="n">SQL</span> <span class="o">-</span> <span class="o">&lt;</span><span class="n">t</span> <span class="mi">4261185</span><span class="p">,</span> <span class="n">conn</span> <span class="mi">3061987</span><span class="o">&gt;</span> <span class="n">executing</span> <span class="n">prepstmnt</span> <span class="mi">12659709</span> 
+   <span class="n">INSERT</span> <span class="n">INTO</span> <span class="n">AllFieldTypes</span> <span class="p">(</span><span class="n">id</span><span class="p">,</span> <span class="n">arrayOfStrings</span><span class="p">,</span> <span class="n">booleanField</span><span class="p">,</span> <span class="n">byteField</span><span class="p">,</span> <span class="n">charField</span><span class="p">,</span> <span class="n">dateField</span><span class="p">,</span> 
+   <span class="n">doubleField</span><span class="p">,</span> <span class="n">floatField</span><span class="p">,</span> <span class="n">intField</span><span class="p">,</span> <span class="n">longField</span><span class="p">,</span> <span class="n">shortField</span><span class="p">,</span> <span class="n">stringField</span><span class="p">)</span> 
+   <span class="n">VALUES</span> <span class="p">(?,</span> <span class="p">?,</span> <span class="p">?,</span> <span class="p">?,</span> <span class="p">?,</span> <span class="p">?,</span> <span class="p">?,</span> <span class="p">?,</span> <span class="p">?,</span> <span class="p">?,</span> <span class="p">?,</span> <span class="p">?)</span> <span class="p">[</span><span class="n">params</span><span class="o">=</span><span class="p">(</span><span class="n">long</span><span class="p">)</span> <span class="mi">601</span><span class="p">,</span> <span class="p">(</span><span class="n">null</span><span class="p">)</span> <span class="n">null</span><span class="p">,</span> <span class="p">(</span><span class="nb">int</span><span class="p">)</span> <span class="mi">0</span><span class="p">,</span> <span class="p">(</span><span class="n">byte</span><span class="p">)</span> <span class="mi">0</span><span class="p">,</span> 
+   <span class="p">(</span><span class="nb">int</span><span class="p">)</span> <span class="mi">0</span><span class="p">,</span> <span class="p">(</span><span class="n">null</span><span class="p">)</span> <span class="n">null</span><span class="p">,</span> <span class="p">(</span><span class="n">double</span><span class="p">)</span> <span class="mf">0.0</span><span class="p">,</span> <span class="p">(</span><span class="n">float</span><span class="p">)</span> <span class="mf">0.0</span><span class="p">,</span> <span class="p">(</span><span class="nb">int</span><span class="p">)</span> <span class="mi">0</span><span class="p">,</span> <span class="p">(</span><span class="n">long</span><span class="p">)</span> <span class="mi">0</span><span class="p">,</span> <span class="p">(</span><span class="n">short</span><span class="p">)</span> <span class="mi">0</span><span class="p">,</span> <span class="p">(</span><span class="n">null</span><span class="p">)</span> <span class="n">nu
 ll</span><span class="p">]</span>
+<span class="mi">701</span>  <span class="n">test</span>  <span class="n">TRACE</span>  <span class="p">[</span><span class="n">main</span><span class="p">]</span> <span class="n">openjpa</span><span class="o">.</span><span class="n">jdbc</span><span class="o">.</span><span class="n">SQL</span> <span class="o">-</span> <span class="o">&lt;</span><span class="n">t</span> <span class="mi">4261185</span><span class="p">,</span> <span class="n">conn</span> <span class="mi">3061987</span><span class="o">&gt;</span> <span class="p">[</span><span class="mi">11</span> <span class="n">ms</span><span class="p">]</span> <span class="n">spent</span>
+<span class="mi">701</span>  <span class="n">test</span>  <span class="n">TRACE</span>  <span class="p">[</span><span class="n">main</span><span class="p">]</span> <span class="n">openjpa</span><span class="o">.</span><span class="n">jdbc</span><span class="o">.</span><span class="n">JDBC</span> <span class="o">-</span> <span class="o">&lt;</span><span class="n">t</span> <span class="mi">4261185</span><span class="p">,</span> <span class="n">conn</span> <span class="mi">3061987</span><span class="o">&gt;</span> <span class="p">[</span><span class="mi">0</span> <span class="n">ms</span><span class="p">]</span> <span class="n">commit</span>
+<span class="mi">702</span>  <span class="n">test</span>  <span class="n">TRACE</span>  <span class="p">[</span><span class="n">main</span><span class="p">]</span> <span class="n">openjpa</span><span class="o">.</span><span class="n">jdbc</span><span class="o">.</span><span class="n">JDBC</span> <span class="o">-</span> <span class="o">&lt;</span><span class="n">t</span> <span class="mi">4261185</span><span class="p">,</span> <span class="n">conn</span> <span class="mi">0</span><span class="o">&gt;</span> <span class="p">[</span><span class="mi">0</span> <span class="n">ms</span><span class="p">]</span> <span class="nb">close</span>
+<span class="o">...</span>
+<span class="nv">$</span>
+</pre></div>
+
+
+<p><a name="Testing-SettingadditionalLogparameters"></a></p>
+<h2 id="setting-additional-log-parameters">Setting additional Log parameters</h2>
+<p>There are several parameters that are used by OpenJPA Log. Here are some
+that might be of value when debugging test cases. Note that the logger
+names are case sensitive while the log levels are not.</p>
+<ul>
+<li>DefaultLevel sets the level for all loggers that are not otherwise set</li>
+<li>file sets the file name for logging output</li>
+<li>Enhance logs messages from the enhancer</li>
+<li>Metadata logs messages from the metadata processor</li>
+<li>Tool logs messages from the schema synchronization tool</li>
+<li>SQL logs messages from the SQL generator</li>
+<li>JDBC logs messages related to JDBC</li>
+<li>Schema logs messages related to schema</li>
+<li>Runtime logs messages related to runtime</li>
+<li>Query logs messages related to queried</li>
+<li>DataCache logs messages related to caching</li>
+</ul>
+<p>Log levels specify the minimum log message that is output. All log messages
+with a level higher than the log level set for a logger are output. So if
+INFO is specified, log messages of level INFO, WARN, ERROR, and SEVERE are
+output.</p>
+<ul>
+<li>TRACE</li>
+<li>INFO</li>
+<li>WARN</li>
+<li>ERROR</li>
+<li>FATAL</li>
+</ul>
+<p>For example, to avoid enhancement warnings, get detailed SQL information,
+and write the log data to a file:</p>
+<div class="codehilite"><pre><span class="n">mvn</span> <span class="n">test</span> <span class="o">-</span><span class="n">Dtest</span><span class="o">=</span><span class="n">TestPersistence</span> <span class="o">-</span><span class="n">Dopenjpa</span><span class="o">.</span><span class="n">Log</span><span class="o">=</span><span class="n">Enhance</span><span class="o">=</span><span class="n">ERROR</span><span class="p">,</span><span class="n">SQL</span><span class="o">=</span><span class="n">TRACE</span><span class="p">,</span><span class="n">file</span><span class="o">=</span><span class="n">openjpa</span><span class="o">.</span><span class="nb">log</span>
+</pre></div>
+
+
+<h1 id="testing-against-alternate-databases">Testing against alternate databases</h1>
+<p>By default, OpenJPA uses the <a href="http://db.apache.org/derby/">Derby</a>
+database for testing. The <code>openjpa-persistence-jdbc/pom.xml</code> POM
+declares various pre-defined databases against which tests can be executed.
+For example, to test against the stand-alone <a href="http://hsqldb.org/">HSQLDB</a>
+ database, you can run with the "test-hsqldb" profile:</p>
+<div class="codehilite"><pre><span class="n">mvn</span> <span class="n">test</span> <span class="o">-</span><span class="n">DfailIfNoTests</span><span class="o">=</span><span class="n">false</span> <span class="o">-</span><span class="n">Dtest</span><span class="o">=</span><span class="n">TestPersistence</span> <span class="o">-</span><span class="n">Ptest</span><span class="o">-</span><span class="n">hsqldb</span>
+</pre></div>
+
+
+<p>For databases that are not in the pre-defined list, you can manually
+specify connection parameters to use for testing under the "test-custom"
+profile. You will need to manually provide the driver class and specify all
+of the connection parameters. For example, to test against Oracle, you
+might run:</p>
+<div class="codehilite"><pre><span class="n">mvn</span> <span class="n">test</span> <span class="o">-</span><span class="n">DfailIfNoTests</span><span class="o">=</span><span class="n">false</span> <span class="o">-</span><span class="n">Dtest</span><span class="o">=</span><span class="n">TestPersistence</span> <span class="o">-</span><span class="n">Ptest</span><span class="o">-</span><span class="n">custom</span> <span class="o">\</span>
+  <span class="o">-</span><span class="n">Dopenjpa</span><span class="o">.</span><span class="n">custom</span><span class="o">.</span><span class="n">driverjar</span><span class="o">=</span><span class="nv">$</span><span class="err">(</span><span class="nv">pwd</span><span class="p">)</span><span class="sr">/drivers/</span><span class="n">jdbc</span><span class="o">-</span><span class="n">oracle</span><span class="o">-</span><span class="mi">10_2_0_1_0</span><span class="o">.</span><span class="n">jar</span> <span class="o">\</span>
+  <span class="o">-</span><span class="n">Dopenjpa</span><span class="o">.</span><span class="n">custom</span><span class="o">.</span><span class="n">driverclass</span><span class="o">=</span><span class="n">oracle</span><span class="o">.</span><span class="n">jdbc</span><span class="o">.</span><span class="n">driver</span><span class="o">.</span><span class="n">OracleDriver</span> <span class="o">\</span>
+  <span class="o">-</span><span class="n">Dopenjpa</span><span class="o">.</span><span class="n">custom</span><span class="o">.</span><span class="n">url</span><span class="o">=</span><span class="n">jdbc:oracle:thin:</span><span class="nv">@HOST:PORT:DBNAME</span> <span class="o">\</span>
+  <span class="o">-</span><span class="n">Dopenjpa</span><span class="o">.</span><span class="n">custom</span><span class="o">.</span><span class="n">username</span><span class="o">=</span><span class="n">USERNAME</span> <span class="o">\</span>
+  <span class="o">-</span><span class="n">Dopenjpa</span><span class="o">.</span><span class="n">custom</span><span class="o">.</span><span class="n">password</span><span class="o">=</span><span class="n">PASSWORD</span>
+</pre></div>
+
+
+<p>If you frequently need to test against another database, you can
+permanently declare the database connection parameters in the
+<code>~/.m2/settings.xml</code> file under a custom profile. For example:</p>
+<div class="codehilite"><pre><span class="nt">&lt;settings&gt;</span>
+    <span class="nt">&lt;profiles&gt;</span>
+    <span class="nt">&lt;profile&gt;</span>
+        <span class="nt">&lt;id&gt;</span>test-oracle<span class="nt">&lt;/id&gt;</span>
+        <span class="nt">&lt;properties&gt;</span>
+        <span class="nt">&lt;test</span><span class="err">-custom</span><span class="nt">&gt;</span>true<span class="nt">&lt;/test-custom&gt;</span>            
+        <span class="nt">&lt;openjpa</span><span class="err">.custom.driverjar</span><span class="nt">&gt;</span><span class="cp">${</span><span class="n">user</span><span class="o">.</span><span class="n">home</span><span class="cp">}</span>/.m2/privaterepos/jdbc-oracle-10_2_0_1_0.jar<span class="nt">&lt;/openjpa.custom.driverjar&gt;</span>
+        <span class="nt">&lt;openjpa</span><span class="err">.custom.driverclass</span><span class="nt">&gt;</span>oracle.jdbc.driver.OracleDriver<span class="nt">&lt;/openjpa.custom.driverclass&gt;</span>               
+        <span class="nt">&lt;openjpa</span><span class="err">.custom.url</span><span class="nt">&gt;</span>jdbc:oracle:thin:@HOST:PORT:DBNAME<span class="nt">&lt;/openjpa.custom.url&gt;</span>
+        <span class="nt">&lt;openjpa</span><span class="err">.custom.username</span><span class="nt">&gt;</span>USERNAME<span class="nt">&lt;/openjpa.custom.username&gt;</span>
+        <span class="nt">&lt;openjpa</span><span class="err">.custom.password</span><span class="nt">&gt;</span>PASSWORD<span class="nt">&lt;/openjpa.custom.password&gt;</span>
+        <span class="nt">&lt;/properties&gt;</span>
+    <span class="nt">&lt;/profile&gt;</span>
+    <span class="nt">&lt;/profiles&gt;</span>
+<span class="nt">&lt;/settings&gt;</span>
+</pre></div>
+
+
+<p>This profile can then be executed by running:</p>
+<div class="codehilite"><pre><span class="n">mvn</span> <span class="n">test</span> <span class="o">-</span><span class="n">DfailIfNoTests</span><span class="o">=</span><span class="n">false</span> <span class="o">-</span><span class="n">Dtest</span><span class="o">=</span><span class="n">TestPersistence</span> <span class="o">-</span><span class="n">Ptest</span><span class="o">-</span><span class="n">custom</span><span class="p">,</span><span class="n">test</span><span class="o">-</span><span class="n">oracle</span>
+</pre></div>
+
+
+<p><a name="Testing-RunningJUnitsinEclipse"></a></p>
+<h1 id="running-junits-in-eclipse">Running JUnits in Eclipse</h1>
+<p>You'll probably want to setup a Debug Configuration in Eclipse for running
+the JUnit testcases.</p>
+<ol>
+<li>
+<p>Run --&gt; Debug Configurations...  Create a new JUnit configuration</p>
+<p><img alt="eclipse_dbgcfg_1.png" src="images/eclipse_dbgcfg_1.png" /></p>
+</li>
+<li>
+<p>For the Test tab - Give the configuration a Name, select a Project and
+Test class, and you'll probably want to select the "Keep JUnit running..."
+option.</p>
+<p><img alt="eclipse_dbgcfg_2.png" src="images/eclipse_dbgcfg_2.png" /></p>
+</li>
+<li>
+<p>For the Arguments tab - Press the Variables... button. This will allow us
+to define variables that can be shared across other Release/Debug
+Configurations within this workspace.</p>
+<p><img alt="eclipse_dbgcfg_3.png" src="images/eclipse_dbgcfg_3.png" /></p>
+</li>
+<li>
+<p>For the Select Variable window - Press the Edit Variables... button.</p>
+<p><img alt="eclipse_dbgcfg_4.png" src="images/eclipse_dbgcfg_4.png" /></p>
+</li>
+<li>
+<p>For the Preferences windows - Press New... to add two variables.
+    <img alt="eclipse_dbgcfg_5.png" src="images/eclipse_dbgcfg_5.png" /></p>
+<div class="codehilite"><pre><span class="n">Name</span> <span class="o">=</span> <span class="n">openjpa</span><span class="o">.</span><span class="n">trace</span>
+<span class="n">Value</span> <span class="o">=</span> <span class="o">-</span><span class="n">Dopenjpa</span><span class="o">.</span><span class="n">Log</span><span class="o">=</span><span class="n">DefaultLevel</span><span class="o">=</span><span class="n">TRACE</span>
+<span class="n">Description</span> <span class="o">=</span> <span class="n">Set</span> <span class="n">OpenJPA</span> <span class="n">logging</span> <span class="n">to</span> <span class="n">TRACE</span>
+</pre></div>
+
+
+<p><img alt="eclipse_dbgcfg_6.png" src="images/eclipse_dbgcfg_6.png" /></p>
+<div class="codehilite"><pre><span class="n">Name</span> <span class="o">=</span> <span class="nb">connect</span><span class="o">.</span><span class="n">derby</span>
+<span class="n">Value</span> <span class="o">=</span> <span class="o">-</span><span class="n">Dopenjpa</span><span class="o">.</span><span class="n">ConnectionDriverName</span><span class="o">=</span><span class="n">org</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">derby</span><span class="o">.</span><span class="n">jdbc</span><span class="o">.</span><span class="n">EmbeddedDriver</span>
+    <span class="o">-</span><span class="n">Dopenjpa</span><span class="o">.</span><span class="n">ConnectionURL</span><span class="o">=</span><span class="n">jdbc:derby:target</span><span class="sr">/database/o</span><span class="n">penjpa</span><span class="o">-</span><span class="n">derby</span><span class="o">-</span><span class="n">database</span><span class="p">;</span><span class="n">create</span><span class="o">=</span><span class="n">true</span>
+<span class="n">Description</span> <span class="o">=</span> <span class="n">Connection</span> <span class="n">properties</span> <span class="k">for</span> <span class="n">Derby</span>
+</pre></div>
+
+
+<p><img alt="eclipse_dbgcfg_7.png" src="images/eclipse_dbgcfg_7.png" /></p>
+</li>
+<li>
+<p>After the above are created and saved, add the new variables as VM Arguments.</p>
+<div class="codehilite"><pre><span class="cp">${</span><span class="n">openjpa</span><span class="o">.</span><span class="n">trace</span><span class="cp">}</span>
+<span class="cp">${</span><span class="n">connect</span><span class="o">.</span><span class="n">derby</span><span class="cp">}</span>
+</pre></div>
+
+
+<p><img alt="eclipse_dbgcfg_8.png" src="images/eclipse_dbgcfg_8.png" /></p>
+</li>
+</ol>
+                                            </div>
+                                        </td>
+                                        </tr>
+                                    </tbody>
+                                </table>
+                                <div class="bottom_red_bar"></div>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+                <div class="black_box">
+                    <div class="footer">
+                        <div class="footer_l">
+                            <div class="footer_r">
+                                <div>
+                                </div>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+            </div>
+            <div class="design_attribution">
+                Copyright (C) 2006,2012 The Apache Software Foundation. Licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License 2.0</a>.<br />
+                Apache, the Apache feather logo and OpenJPA are trademarks of The Apache Software Foundation.<br />
+                Other names may be trademarks of their respective owners.<br />
+            </div>
+
+        <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+        </script>
+        <script type="text/javascript">
+            _uacct = "UA-1940143-1";
+            urchinTracker();
+        </script>
+
+    </body>
+</html>

Added: websites/staging/openjpa/trunk/content/thanks.html
==============================================================================
--- websites/staging/openjpa/trunk/content/thanks.html (added)
+++ websites/staging/openjpa/trunk/content/thanks.html Sun Dec  9 13:13:35 2012
@@ -0,0 +1,207 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<html lang="en">
+    <head>
+        <META http-equiv="Content-Type" content="text/html;charset=UTF-8" />
+        <link href="http://openjpa.apache.org/styles/site.css" rel="stylesheet" type="text/css"/>
+        <!-- <link href="http://openjpa.apache.org/styles/type-settings.css" rel="stylesheet" type="text/css"/> -->
+        <link href="./css/type-settings.css" rel="stylesheet" type="text/css"/>
+        <LINK rel="schema.DC" href="http://purl.org/DC/elements/1.0/">
+        <META name="Description" content="Apache OpenJPA -- Thanks
" />
+        <META name="Keywords" content="Apache OpenJPA, JPA, JPA 1.0, JSR-220, JPA2, JPA 2.0, JSR-317, " />
+        <META name="Owner" content="dev@openjpa.apache.org" />
+        <META name="Robots" content="index, follow" />
+        <META name="Security" content="Public" />
+        <META name="Source" content="wiki template" />
+        <META name="DC.Date" scheme="iso8601" content="2010-08-11" />
+        <META name="DC.Language" scheme="rfc1766" content="en" />
+        <META name="DC.Rights" content="Copyright © 2006,2010 The Apache Software Foundation" />
+        <META http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))'/>
+
+        <title>
+            Apache OpenJPA --
+        </title>
+    </head>
+    <body>
+        <div class="white_box">
+            <div class="header">
+                <div class="header_l">
+                    <div class="header_r">
+                    </div>
+                </div>
+            </div>
+            <div class="content">
+                <div class="content_l">
+                    <div class="content_r">
+                        <div>
+                            <!-- Banner -->
+                            <TABLE valign="top" border="0" cellspacing="0" cellpadding="5" width="100%" background="images/header-bg3.png">
+                                <TR>
+                                    <TD valing="top" align="left">
+                                        <A href="http://openjpa.apache.org/"><IMG src="images/openjpa-logo.png" border="0" alt="OpenJPA Logo"></A>
+                                    </TD>
+                                    <TD width="100%">
+                                        &nbsp;
+                                    </TD>
+                                    <TD valing="top" align="right">
+                                        <A href="http://www.apache.org/"><IMG src="images/asf_logo_wide2.png" border="0" alt="ASF Logo"></A>
+                                    </TD>
+                                </TR>
+                            </TABLE>
+
+                            <!-- Navigation Bar -->
+                            <div class="bottom_red_bar">
+                                <div id="site-breadcrumbs">
+                                    <!-- Breadcrumbs --
+                                    <a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/thanks.html">Thanks
</a>
+                                     -- Breadcrumbs -->
+                                </div>
+                            </div>
+
+                            <!-- Content -->
+                            <table border="0">
+                                <tbody>
+                                    <tr>
+                                        <td valign="top">
+                                            <div class="navigation">
+                                                <div class="navigation_top">
+                                                    <div class="navigation_bottom">
+                                                        <!-- NavigationBar -->
+                                                        <h3><a name="SideNav-Overview"></a><a href="overview.html" title="Overview">Overview</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="quick-start.html" title="Quick Start">Quick Start</a></li>
+                                                            <li><a href="documentation.html" title="Documentation">Documentation</a></li>
+                                                            <li><a href="downloads.html" title="Downloads">Downloads</a></li>
+                                                            <li><a href="site-index.html" title="Site Index">Site Index</a></li>
+                                                            <li><a href="license.html" title="License">License</a></li>
+                                                            <li><a href="privacy-policy.html" title="Privacy Policy">Privacy Policy</a></li>
+                                                        </ul>
+
+                                                        <h3><a name="SideNav-Community"></a><a href="community.html" title="Community">Community</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="index.html#Index-eventsandnews" title="Events and News">Events and News</a></li>
+                                                            <li><a href="found-a-bug.html" title="Found a Bug">Found a Bug</a>?</li>
+                                                            <li><a href="get-involved.html" title="Get Involved">Get Involved</a></li>
+                                                            <li><a href="mailing-lists.html" title="Mailing Lists">Mailing Lists</a></li>
+                                                            <li><a href="committers.html" title="Committers">Committers</a></li>
+                                                            <li><a href="integration.html" title="Integration">Integration</a></li>
+                                                            <li><a href="powered-by.html" title="Powered By">Powered By</a></li>
+                                                            <li><a href="thanks.html" title="Thanks">Thanks</a></li>
+                                                        </ul>
+
+
+                                                        <h3><a name="SideNav-Development"></a><a href="development.html" title="Development">Development</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="http://issues.apache.org/jira/browse/OPENJPA" class="external-link" rel="nofollow">Issue Tracker</a></li>
+                                                            <li><a href="source-code.html" title="Source Code">Source Code</a></li>
+                                                            <li><a href="testing.html" title="Testing">Testing</a></li>
+                                                            <li><a href="tools.html" title="Tools">Tools</a></li>
+                                                            <li><a href="samples.html" title="Samples">Samples</a></li>
+                                                            <li><a href="release-management.html" title="Release Management">Release Management</a></li>
+                                                        </ul>
+
+                                                        <h3>Search</h3>
+
+                                                        <div style="padding: 5px 5px 0px 25px;">
+                                                            <form action="http://www.google.com/search" method="get" style="font-size: 10px;">
+                                                                <input name="ie" type="hidden" value="UTF-8">
+                                                                <input name="oe" type="hidden" value="UTF-8">
+                                                                <input maxlength="255" name="q" size="9" type="text" value=""><br><br>
+                                                                <input name="btnG" type="submit" value="Google">
+                                                                <input name="domains" type="hidden" value="openjpa.apache.org">
+                                                                <input name="sitesearch" type="hidden" value="openjpa.apache.org">
+                                                            </form>
+                                                        </div>
+                                                    </div>
+                                                </div>
+                                            </div>
+                                        </td>
+                                        <td valign="top" width="100%" style="overflow:hidden;">
+                                            <div class="wiki-content">
+                                                <p>The Apache OpenJPA team would like to thank the following individuals and
+organizations. </p>
+<p><a name="Thanks-ApacheSponsors"></a></p>
+<h1 id="apache-sponsors">Apache Sponsors</h1>
+<p>Without those sponsors, the ASF would simply not exist or sustain its
+activities :
+<a href="http://www.apache.org/foundation/thanks.html">http://www.apache.org/foundation/thanks.html</a></p>
+<p>For those who want to know more about the Apache Sponsorship Program,
+please check :
+<a href="http://www.apache.org/foundation/sponsorship.html">http://www.apache.org/foundation/sponsorship.html</a></p>
+<p>Thanks !</p>
+<p><a name="Thanks-WebsiteDesign"></a></p>
+<h2 id="website-design">Website Design</h2>
+<p>Marc Prud'hommeaux - Wiki template design based on <a href="http://activemq.apache.org/">Apache ActiveMQ</a> template.</p>
+<p><a name="Thanks-OpenJPALogo"></a></p>
+<h2 id="openjpa-logo">OpenJPA Logo</h2>
+<p>Donald R. Woods</p>
+<p><a name="Thanks-Organizationswhohelpedourproject..."></a></p>
+<h2 id="organizations-who-helped-our-project">Organizations who helped our project . . .</h2>
+<table>
+<tr><th>Organization </th><th> Donation type </th><th> Organization Contact </th><th> Apache Contact</th></tr>
+<tr>
+<td class="border"> <a href="http://www.ej-technologies.com">ej-technologies</a></td>
+<td class="border"> <a href="http://www.ej-technologies.com/products/jprofiler/overview.html">jProfiler</a> license </td>
+<td class="border"> Hannes Kegel, CTO  </td>
+<td class="border"> Pinaki Poddar </td>
+</tr>
+</table>
+
+<p><a name="Thanks-RelatedProjects"></a></p>
+<h2 id="related-projects">Related Projects</h2>
+<p>Other <a href="related-projects.html">Related Projects</a>
+ that OpenJPA depends upon or uses.</p>
+                                            </div>
+                                        </td>
+                                        </tr>
+                                    </tbody>
+                                </table>
+                                <div class="bottom_red_bar"></div>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+                <div class="black_box">
+                    <div class="footer">
+                        <div class="footer_l">
+                            <div class="footer_r">
+                                <div>
+                                </div>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+            </div>
+            <div class="design_attribution">
+                Copyright (C) 2006,2012 The Apache Software Foundation. Licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License 2.0</a>.<br />
+                Apache, the Apache feather logo and OpenJPA are trademarks of The Apache Software Foundation.<br />
+                Other names may be trademarks of their respective owners.<br />
+            </div>
+
+        <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+        </script>
+        <script type="text/javascript">
+            _uacct = "UA-1940143-1";
+            urchinTracker();
+        </script>
+
+    </body>
+</html>

Added: websites/staging/openjpa/trunk/content/tools.html
==============================================================================
--- websites/staging/openjpa/trunk/content/tools.html (added)
+++ websites/staging/openjpa/trunk/content/tools.html Sun Dec  9 13:13:35 2012
@@ -0,0 +1,206 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<html lang="en">
+    <head>
+        <META http-equiv="Content-Type" content="text/html;charset=UTF-8" />
+        <link href="http://openjpa.apache.org/styles/site.css" rel="stylesheet" type="text/css"/>
+        <!-- <link href="http://openjpa.apache.org/styles/type-settings.css" rel="stylesheet" type="text/css"/> -->
+        <link href="./css/type-settings.css" rel="stylesheet" type="text/css"/>
+        <LINK rel="schema.DC" href="http://purl.org/DC/elements/1.0/">
+        <META name="Description" content="Apache OpenJPA -- Tools
" />
+        <META name="Keywords" content="Apache OpenJPA, JPA, JPA 1.0, JSR-220, JPA2, JPA 2.0, JSR-317, " />
+        <META name="Owner" content="dev@openjpa.apache.org" />
+        <META name="Robots" content="index, follow" />
+        <META name="Security" content="Public" />
+        <META name="Source" content="wiki template" />
+        <META name="DC.Date" scheme="iso8601" content="2010-08-11" />
+        <META name="DC.Language" scheme="rfc1766" content="en" />
+        <META name="DC.Rights" content="Copyright © 2006,2010 The Apache Software Foundation" />
+        <META http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))'/>
+
+        <title>
+            Apache OpenJPA --
+        </title>
+    </head>
+    <body>
+        <div class="white_box">
+            <div class="header">
+                <div class="header_l">
+                    <div class="header_r">
+                    </div>
+                </div>
+            </div>
+            <div class="content">
+                <div class="content_l">
+                    <div class="content_r">
+                        <div>
+                            <!-- Banner -->
+                            <TABLE valign="top" border="0" cellspacing="0" cellpadding="5" width="100%" background="images/header-bg3.png">
+                                <TR>
+                                    <TD valing="top" align="left">
+                                        <A href="http://openjpa.apache.org/"><IMG src="images/openjpa-logo.png" border="0" alt="OpenJPA Logo"></A>
+                                    </TD>
+                                    <TD width="100%">
+                                        &nbsp;
+                                    </TD>
+                                    <TD valing="top" align="right">
+                                        <A href="http://www.apache.org/"><IMG src="images/asf_logo_wide2.png" border="0" alt="ASF Logo"></A>
+                                    </TD>
+                                </TR>
+                            </TABLE>
+
+                            <!-- Navigation Bar -->
+                            <div class="bottom_red_bar">
+                                <div id="site-breadcrumbs">
+                                    <!-- Breadcrumbs --
+                                    <a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/tools.html">Tools
</a>
+                                     -- Breadcrumbs -->
+                                </div>
+                            </div>
+
+                            <!-- Content -->
+                            <table border="0">
+                                <tbody>
+                                    <tr>
+                                        <td valign="top">
+                                            <div class="navigation">
+                                                <div class="navigation_top">
+                                                    <div class="navigation_bottom">
+                                                        <!-- NavigationBar -->
+                                                        <h3><a name="SideNav-Overview"></a><a href="overview.html" title="Overview">Overview</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="quick-start.html" title="Quick Start">Quick Start</a></li>
+                                                            <li><a href="documentation.html" title="Documentation">Documentation</a></li>
+                                                            <li><a href="downloads.html" title="Downloads">Downloads</a></li>
+                                                            <li><a href="site-index.html" title="Site Index">Site Index</a></li>
+                                                            <li><a href="license.html" title="License">License</a></li>
+                                                            <li><a href="privacy-policy.html" title="Privacy Policy">Privacy Policy</a></li>
+                                                        </ul>
+
+                                                        <h3><a name="SideNav-Community"></a><a href="community.html" title="Community">Community</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="index.html#Index-eventsandnews" title="Events and News">Events and News</a></li>
+                                                            <li><a href="found-a-bug.html" title="Found a Bug">Found a Bug</a>?</li>
+                                                            <li><a href="get-involved.html" title="Get Involved">Get Involved</a></li>
+                                                            <li><a href="mailing-lists.html" title="Mailing Lists">Mailing Lists</a></li>
+                                                            <li><a href="committers.html" title="Committers">Committers</a></li>
+                                                            <li><a href="integration.html" title="Integration">Integration</a></li>
+                                                            <li><a href="powered-by.html" title="Powered By">Powered By</a></li>
+                                                            <li><a href="thanks.html" title="Thanks">Thanks</a></li>
+                                                        </ul>
+
+
+                                                        <h3><a name="SideNav-Development"></a><a href="development.html" title="Development">Development</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="http://issues.apache.org/jira/browse/OPENJPA" class="external-link" rel="nofollow">Issue Tracker</a></li>
+                                                            <li><a href="source-code.html" title="Source Code">Source Code</a></li>
+                                                            <li><a href="testing.html" title="Testing">Testing</a></li>
+                                                            <li><a href="tools.html" title="Tools">Tools</a></li>
+                                                            <li><a href="samples.html" title="Samples">Samples</a></li>
+                                                            <li><a href="release-management.html" title="Release Management">Release Management</a></li>
+                                                        </ul>
+
+                                                        <h3>Search</h3>
+
+                                                        <div style="padding: 5px 5px 0px 25px;">
+                                                            <form action="http://www.google.com/search" method="get" style="font-size: 10px;">
+                                                                <input name="ie" type="hidden" value="UTF-8">
+                                                                <input name="oe" type="hidden" value="UTF-8">
+                                                                <input maxlength="255" name="q" size="9" type="text" value=""><br><br>
+                                                                <input name="btnG" type="submit" value="Google">
+                                                                <input name="domains" type="hidden" value="openjpa.apache.org">
+                                                                <input name="sitesearch" type="hidden" value="openjpa.apache.org">
+                                                            </form>
+                                                        </div>
+                                                    </div>
+                                                </div>
+                                            </div>
+                                        </td>
+                                        <td valign="top" width="100%" style="overflow:hidden;">
+                                            <div class="wiki-content">
+                                                <p><a name="Tools-ToolsforOpenJPA"></a></p>
+<h1 id="tools-for-openjpa">Tools for OpenJPA</h1>
+<p>This page will host description of design-time and runtime tools for
+OpenJPA.
+The tools mentioned below are available as command-line utilities. In the
+future, they may be made available as interactive graphical tools
+integrated into popular IDEs such as Eclipse or IntelliJ. </p>
+<p><a name="Tools-ExistingOpenJPATools"></a></p>
+<h3 id="existing-openjpa-tools">Existing OpenJPA Tools</h3>
+<p>The OpenJPA distribution and runtime already comes with a series of useful
+tools to:</p>
+<ul>
+<li><a href="entity-enhancement.html">Entity Enhancement</a>
+ for enhancing the bytecode of POJO domain classes</li>
+<li><a href="http://openjpa.apache.org/builds/latest/docs/docbook/manual.html#ref_guide_pc_reverse">reverse map</a>
+ a database schema to Java source code </li>
+<li><a href="http://openjpa.apache.org/builds/latest/docs/docbook/manual.html#ref_guide_mapping_mappingtool_examples">create/synchronize</a>
+ a Java persistent domain model to a database schema</li>
+<li><a href="http://openjpa.apache.org/builds/latest/docs/docbook/manual.html#d0e11103">generate</a>
+ canonical metamodel classes for strictly-typed Criteria queries</li>
+</ul>
+<p><a name="Tools-ToolsUnderDevelopment"></a></p>
+<h3 id="tools-under-development">Tools Under Development</h3>
+<p>A new OpenJPA Tools subproject has been created to deliver a new set of
+tools that are decoupled from a specific OpenJPA release.</p>
+<ul>
+<li><a href="migration-tool.html">Migration Tool</a>- translates proprietary mapping descriptors (such as Hibernate) to standard JPA mapping descriptors.</li>
+<li><a href="openjpaeclipseinstallation.html">Entity enhancer for Eclipse</a> provides a plugin which can be used to pre-enhance your entities when building in Eclipse.</li>
+<li><a href="domain-model-browser.html">Domain Model Browser</a></li>
+<li><a href="jconsole-datacache-plugin.html">JConsole DataCache Plugin</a> - JConsole plugin to monitor openjpa.DataCache usage.</li>
+<li><a href="fetch-statistics.html">Fetch Statistics</a>  - monitors persistent field access and determines which fields are never used.</li>
+</ul>
+                                            </div>
+                                        </td>
+                                        </tr>
+                                    </tbody>
+                                </table>
+                                <div class="bottom_red_bar"></div>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+                <div class="black_box">
+                    <div class="footer">
+                        <div class="footer_l">
+                            <div class="footer_r">
+                                <div>
+                                </div>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+            </div>
+            <div class="design_attribution">
+                Copyright (C) 2006,2012 The Apache Software Foundation. Licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License 2.0</a>.<br />
+                Apache, the Apache feather logo and OpenJPA are trademarks of The Apache Software Foundation.<br />
+                Other names may be trademarks of their respective owners.<br />
+            </div>
+
+        <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+        </script>
+        <script type="text/javascript">
+            _uacct = "UA-1940143-1";
+            urchinTracker();
+        </script>
+
+    </body>
+</html>

Added: websites/staging/openjpa/trunk/content/top-navigation-bar.html
==============================================================================
--- websites/staging/openjpa/trunk/content/top-navigation-bar.html (added)
+++ websites/staging/openjpa/trunk/content/top-navigation-bar.html Sun Dec  9 13:13:35 2012
@@ -0,0 +1,175 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<html lang="en">
+    <head>
+        <META http-equiv="Content-Type" content="text/html;charset=UTF-8" />
+        <link href="http://openjpa.apache.org/styles/site.css" rel="stylesheet" type="text/css"/>
+        <!-- <link href="http://openjpa.apache.org/styles/type-settings.css" rel="stylesheet" type="text/css"/> -->
+        <link href="./css/type-settings.css" rel="stylesheet" type="text/css"/>
+        <LINK rel="schema.DC" href="http://purl.org/DC/elements/1.0/">
+        <META name="Description" content="Apache OpenJPA -- Top Navigation Bar
" />
+        <META name="Keywords" content="Apache OpenJPA, JPA, JPA 1.0, JSR-220, JPA2, JPA 2.0, JSR-317, " />
+        <META name="Owner" content="dev@openjpa.apache.org" />
+        <META name="Robots" content="index, follow" />
+        <META name="Security" content="Public" />
+        <META name="Source" content="wiki template" />
+        <META name="DC.Date" scheme="iso8601" content="2010-08-11" />
+        <META name="DC.Language" scheme="rfc1766" content="en" />
+        <META name="DC.Rights" content="Copyright © 2006,2010 The Apache Software Foundation" />
+        <META http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))'/>
+
+        <title>
+            Apache OpenJPA --
+        </title>
+    </head>
+    <body>
+        <div class="white_box">
+            <div class="header">
+                <div class="header_l">
+                    <div class="header_r">
+                    </div>
+                </div>
+            </div>
+            <div class="content">
+                <div class="content_l">
+                    <div class="content_r">
+                        <div>
+                            <!-- Banner -->
+                            <TABLE valign="top" border="0" cellspacing="0" cellpadding="5" width="100%" background="images/header-bg3.png">
+                                <TR>
+                                    <TD valing="top" align="left">
+                                        <A href="http://openjpa.apache.org/"><IMG src="images/openjpa-logo.png" border="0" alt="OpenJPA Logo"></A>
+                                    </TD>
+                                    <TD width="100%">
+                                        &nbsp;
+                                    </TD>
+                                    <TD valing="top" align="right">
+                                        <A href="http://www.apache.org/"><IMG src="images/asf_logo_wide2.png" border="0" alt="ASF Logo"></A>
+                                    </TD>
+                                </TR>
+                            </TABLE>
+
+                            <!-- Navigation Bar -->
+                            <div class="bottom_red_bar">
+                                <div id="site-breadcrumbs">
+                                    <!-- Breadcrumbs --
+                                    <a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/top-navigation-bar.html">Top Navigation Bar
</a>
+                                     -- Breadcrumbs -->
+                                </div>
+                            </div>
+
+                            <!-- Content -->
+                            <table border="0">
+                                <tbody>
+                                    <tr>
+                                        <td valign="top">
+                                            <div class="navigation">
+                                                <div class="navigation_top">
+                                                    <div class="navigation_bottom">
+                                                        <!-- NavigationBar -->
+                                                        <h3><a name="SideNav-Overview"></a><a href="overview.html" title="Overview">Overview</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="quick-start.html" title="Quick Start">Quick Start</a></li>
+                                                            <li><a href="documentation.html" title="Documentation">Documentation</a></li>
+                                                            <li><a href="downloads.html" title="Downloads">Downloads</a></li>
+                                                            <li><a href="site-index.html" title="Site Index">Site Index</a></li>
+                                                            <li><a href="license.html" title="License">License</a></li>
+                                                            <li><a href="privacy-policy.html" title="Privacy Policy">Privacy Policy</a></li>
+                                                        </ul>
+
+                                                        <h3><a name="SideNav-Community"></a><a href="community.html" title="Community">Community</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="index.html#Index-eventsandnews" title="Events and News">Events and News</a></li>
+                                                            <li><a href="found-a-bug.html" title="Found a Bug">Found a Bug</a>?</li>
+                                                            <li><a href="get-involved.html" title="Get Involved">Get Involved</a></li>
+                                                            <li><a href="mailing-lists.html" title="Mailing Lists">Mailing Lists</a></li>
+                                                            <li><a href="committers.html" title="Committers">Committers</a></li>
+                                                            <li><a href="integration.html" title="Integration">Integration</a></li>
+                                                            <li><a href="powered-by.html" title="Powered By">Powered By</a></li>
+                                                            <li><a href="thanks.html" title="Thanks">Thanks</a></li>
+                                                        </ul>
+
+
+                                                        <h3><a name="SideNav-Development"></a><a href="development.html" title="Development">Development</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="http://issues.apache.org/jira/browse/OPENJPA" class="external-link" rel="nofollow">Issue Tracker</a></li>
+                                                            <li><a href="source-code.html" title="Source Code">Source Code</a></li>
+                                                            <li><a href="testing.html" title="Testing">Testing</a></li>
+                                                            <li><a href="tools.html" title="Tools">Tools</a></li>
+                                                            <li><a href="samples.html" title="Samples">Samples</a></li>
+                                                            <li><a href="release-management.html" title="Release Management">Release Management</a></li>
+                                                        </ul>
+
+                                                        <h3>Search</h3>
+
+                                                        <div style="padding: 5px 5px 0px 25px;">
+                                                            <form action="http://www.google.com/search" method="get" style="font-size: 10px;">
+                                                                <input name="ie" type="hidden" value="UTF-8">
+                                                                <input name="oe" type="hidden" value="UTF-8">
+                                                                <input maxlength="255" name="q" size="9" type="text" value=""><br><br>
+                                                                <input name="btnG" type="submit" value="Google">
+                                                                <input name="domains" type="hidden" value="openjpa.apache.org">
+                                                                <input name="sitesearch" type="hidden" value="openjpa.apache.org">
+                                                            </form>
+                                                        </div>
+                                                    </div>
+                                                </div>
+                                            </div>
+                                        </td>
+                                        <td valign="top" width="100%" style="overflow:hidden;">
+                                            <div class="wiki-content">
+                                                
+                                            </div>
+                                        </td>
+                                        </tr>
+                                    </tbody>
+                                </table>
+                                <div class="bottom_red_bar"></div>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+                <div class="black_box">
+                    <div class="footer">
+                        <div class="footer_l">
+                            <div class="footer_r">
+                                <div>
+                                </div>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+            </div>
+            <div class="design_attribution">
+                Copyright (C) 2006,2012 The Apache Software Foundation. Licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License 2.0</a>.<br />
+                Apache, the Apache feather logo and OpenJPA are trademarks of The Apache Software Foundation.<br />
+                Other names may be trademarks of their respective owners.<br />
+            </div>
+
+        <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+        </script>
+        <script type="text/javascript">
+            _uacct = "UA-1940143-1";
+            urchinTracker();
+        </script>
+
+    </body>
+</html>

Added: websites/staging/openjpa/trunk/content/update-release-text-files.html
==============================================================================
--- websites/staging/openjpa/trunk/content/update-release-text-files.html (added)
+++ websites/staging/openjpa/trunk/content/update-release-text-files.html Sun Dec  9 13:13:35 2012
@@ -0,0 +1,232 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<html lang="en">
+    <head>
+        <META http-equiv="Content-Type" content="text/html;charset=UTF-8" />
+        <link href="http://openjpa.apache.org/styles/site.css" rel="stylesheet" type="text/css"/>
+        <!-- <link href="http://openjpa.apache.org/styles/type-settings.css" rel="stylesheet" type="text/css"/> -->
+        <link href="./css/type-settings.css" rel="stylesheet" type="text/css"/>
+        <LINK rel="schema.DC" href="http://purl.org/DC/elements/1.0/">
+        <META name="Description" content="Apache OpenJPA -- Update release text files
" />
+        <META name="Keywords" content="Apache OpenJPA, JPA, JPA 1.0, JSR-220, JPA2, JPA 2.0, JSR-317, " />
+        <META name="Owner" content="dev@openjpa.apache.org" />
+        <META name="Robots" content="index, follow" />
+        <META name="Security" content="Public" />
+        <META name="Source" content="wiki template" />
+        <META name="DC.Date" scheme="iso8601" content="2010-08-11" />
+        <META name="DC.Language" scheme="rfc1766" content="en" />
+        <META name="DC.Rights" content="Copyright © 2006,2010 The Apache Software Foundation" />
+        <META http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))'/>
+
+        <title>
+            Apache OpenJPA --
+        </title>
+    </head>
+    <body>
+        <div class="white_box">
+            <div class="header">
+                <div class="header_l">
+                    <div class="header_r">
+                    </div>
+                </div>
+            </div>
+            <div class="content">
+                <div class="content_l">
+                    <div class="content_r">
+                        <div>
+                            <!-- Banner -->
+                            <TABLE valign="top" border="0" cellspacing="0" cellpadding="5" width="100%" background="images/header-bg3.png">
+                                <TR>
+                                    <TD valing="top" align="left">
+                                        <A href="http://openjpa.apache.org/"><IMG src="images/openjpa-logo.png" border="0" alt="OpenJPA Logo"></A>
+                                    </TD>
+                                    <TD width="100%">
+                                        &nbsp;
+                                    </TD>
+                                    <TD valing="top" align="right">
+                                        <A href="http://www.apache.org/"><IMG src="images/asf_logo_wide2.png" border="0" alt="ASF Logo"></A>
+                                    </TD>
+                                </TR>
+                            </TABLE>
+
+                            <!-- Navigation Bar -->
+                            <div class="bottom_red_bar">
+                                <div id="site-breadcrumbs">
+                                    <!-- Breadcrumbs --
+                                    <a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/update-release-text-files.html">Update release text files
</a>
+                                     -- Breadcrumbs -->
+                                </div>
+                            </div>
+
+                            <!-- Content -->
+                            <table border="0">
+                                <tbody>
+                                    <tr>
+                                        <td valign="top">
+                                            <div class="navigation">
+                                                <div class="navigation_top">
+                                                    <div class="navigation_bottom">
+                                                        <!-- NavigationBar -->
+                                                        <h3><a name="SideNav-Overview"></a><a href="overview.html" title="Overview">Overview</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="quick-start.html" title="Quick Start">Quick Start</a></li>
+                                                            <li><a href="documentation.html" title="Documentation">Documentation</a></li>
+                                                            <li><a href="downloads.html" title="Downloads">Downloads</a></li>
+                                                            <li><a href="site-index.html" title="Site Index">Site Index</a></li>
+                                                            <li><a href="license.html" title="License">License</a></li>
+                                                            <li><a href="privacy-policy.html" title="Privacy Policy">Privacy Policy</a></li>
+                                                        </ul>
+
+                                                        <h3><a name="SideNav-Community"></a><a href="community.html" title="Community">Community</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="index.html#Index-eventsandnews" title="Events and News">Events and News</a></li>
+                                                            <li><a href="found-a-bug.html" title="Found a Bug">Found a Bug</a>?</li>
+                                                            <li><a href="get-involved.html" title="Get Involved">Get Involved</a></li>
+                                                            <li><a href="mailing-lists.html" title="Mailing Lists">Mailing Lists</a></li>
+                                                            <li><a href="committers.html" title="Committers">Committers</a></li>
+                                                            <li><a href="integration.html" title="Integration">Integration</a></li>
+                                                            <li><a href="powered-by.html" title="Powered By">Powered By</a></li>
+                                                            <li><a href="thanks.html" title="Thanks">Thanks</a></li>
+                                                        </ul>
+
+
+                                                        <h3><a name="SideNav-Development"></a><a href="development.html" title="Development">Development</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="http://issues.apache.org/jira/browse/OPENJPA" class="external-link" rel="nofollow">Issue Tracker</a></li>
+                                                            <li><a href="source-code.html" title="Source Code">Source Code</a></li>
+                                                            <li><a href="testing.html" title="Testing">Testing</a></li>
+                                                            <li><a href="tools.html" title="Tools">Tools</a></li>
+                                                            <li><a href="samples.html" title="Samples">Samples</a></li>
+                                                            <li><a href="release-management.html" title="Release Management">Release Management</a></li>
+                                                        </ul>
+
+                                                        <h3>Search</h3>
+
+                                                        <div style="padding: 5px 5px 0px 25px;">
+                                                            <form action="http://www.google.com/search" method="get" style="font-size: 10px;">
+                                                                <input name="ie" type="hidden" value="UTF-8">
+                                                                <input name="oe" type="hidden" value="UTF-8">
+                                                                <input maxlength="255" name="q" size="9" type="text" value=""><br><br>
+                                                                <input name="btnG" type="submit" value="Google">
+                                                                <input name="domains" type="hidden" value="openjpa.apache.org">
+                                                                <input name="sitesearch" type="hidden" value="openjpa.apache.org">
+                                                            </form>
+                                                        </div>
+                                                    </div>
+                                                </div>
+                                            </div>
+                                        </td>
+                                        <td valign="top" width="100%" style="overflow:hidden;">
+                                            <div class="wiki-content">
+                                                <p><a name="Updatereleasetextfiles-Updatingreleasetextfiles."></a></p>
+<h1 id="updating-release-text-files">Updating release text files.</h1>
+<p><a name="Updatereleasetextfiles-ObtainingthelistofresolvedissuesfromJIRA.&nbsp;"></a></p>
+<h2 id="obtaining-the-list-of-resolved-issues-from-jirawzxhzdk6">Obtaining the list of resolved issues from JIRA.&nbsp;</h2>
+<ol>
+<li>Go to the main JIRA releases page at <a href="http://issues.apache.org/jira/browse/OPENJPA?report=com.sourcelabs.jira.plugin.portlet.releases:releases-projecttab">http://issues.apache.org/jira/browse/OPENJPA?report=com.sourcelabs.jira.plugin.portlet.releases:releases-projecttab</a></li>
+<li>Under Unreleased find the version you're about to release and click on
+"Release Notes".
+Keep this page open since it contains a nice reference point for many of
+the documents you will edit.</li>
+</ol>
+<p><a name="Updatereleasetextfiles-Updatetextfiles"></a></p>
+<h2 id="update-text-files">Update text files</h2>
+<ul>
+<li>openjpa-projects/CHANGES.txt<ul>
+<li>Update the overview paragraph with the new version and a brief description of the release.</li>
+<li>Remove the previous changes section and replace with a url to the location in SVN. <em>This is similar to what HTTPD does in its CHANGES file</em></li>
+<li>Create a new section : OpenJPA x.y.z changes and copy the JIRA issues resolved in this section. You may want to do some minor editing by hand to ensure the file respects the 80 character column width guideline.</li>
+</ul>
+</li>
+<li>
+<p>openjpa-project/RELEASE-NOTES.html</p>
+<ul>
+<li>Similar to CHANGES.txt you need to update the version number and provide a brief description of the release.</li>
+<li>Remove the previous list of changes for the previous release. Replace this with a link to the last release's file in SVN.</li>
+<li>Add a new section. This can be copied from the JIRA page with one exception (see the next step).</li>
+<li>
+<p>Update the links at the top of the file. If you've copied changes from JIRA you'll see a section like this :</p>
+<div class="codehilite"><pre> <span class="nt">&lt;h2&gt;</span> Bug <span class="nt">&lt;/h2&gt;</span>
+</pre></div>
+
+
+<p>Replace it with :</p>
+<div class="codehilite"><pre> <span class="nt">&lt;h4&gt;&lt;a</span> <span class="na">name=</span><span class="s">&#39;Bug&#39;</span><span class="nt">&gt;</span>Bug<span class="nt">&lt;/h4&gt;</span>
+</pre></div>
+
+
+<p>You should also check the links at the top to make sure they are all valid.</p>
+</li>
+</ul>
+</li>
+<li>
+<p>openjpa-project/NOTICE.txt
+NOTICE.txt "usually" does not need to be updated. The exceptions are when a new dependency has been introduced (ie a new version of Serp) or if a new source file containing a copyright notice is introduced.</p>
+</li>
+<li>
+<p>openjpa-project/LICENSE.txt
+Similar to NOTICE.txt this file does not require updating in each release. It should contain the current version of the Apache license, and any other licenses mentioned in NOTICE.txt.</p>
+</li>
+<li>
+<p>openjpa-project/README.txt
+This file rarely needs updating - just make sure the URL is accurate.</p>
+</li>
+<li>
+<p>openjpa-project/BUILDING.txt
+This file rarely needs updating. </p>
+</li>
+</ul>
+                                            </div>
+                                        </td>
+                                        </tr>
+                                    </tbody>
+                                </table>
+                                <div class="bottom_red_bar"></div>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+                <div class="black_box">
+                    <div class="footer">
+                        <div class="footer_l">
+                            <div class="footer_r">
+                                <div>
+                                </div>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+            </div>
+            <div class="design_attribution">
+                Copyright (C) 2006,2012 The Apache Software Foundation. Licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License 2.0</a>.<br />
+                Apache, the Apache feather logo and OpenJPA are trademarks of The Apache Software Foundation.<br />
+                Other names may be trademarks of their respective owners.<br />
+            </div>
+
+        <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+        </script>
+        <script type="text/javascript">
+            _uacct = "UA-1940143-1";
+            urchinTracker();
+        </script>
+
+    </body>
+</html>



Mime
View raw message