Author: allee8285
Date: Tue Nov 27 23:10:00 2012
New Revision: 1414460
URL: http://svn.apache.org/viewvc?rev=1414460&view=rev
Log:
CMS migration updates.
Modified:
openjpa/site/trunk/WhoIsWorkingOnWhat.txt
openjpa/site/trunk/content/running-openjpa-examples.mdtext
openjpa/site/trunk/content/running-the-sun-tck-for-jpa.mdtext
openjpa/site/trunk/content/sampletemplate.mdtext
Modified: openjpa/site/trunk/WhoIsWorkingOnWhat.txt
URL: http://svn.apache.org/viewvc/openjpa/site/trunk/WhoIsWorkingOnWhat.txt?rev=1414460&r1=1414459&r2=1414460&view=diff
==============================================================================
--- openjpa/site/trunk/WhoIsWorkingOnWhat.txt (original)
+++ openjpa/site/trunk/WhoIsWorkingOnWhat.txt Tue Nov 27 23:10:00 2012
@@ -105,11 +105,11 @@ done release-management.mdtext
done release-setup.mdtext
releasing-openjpa-1.0.x-or-1.1.x-(old-scp-steps).mdtext
releasing-openjpa-1.2.x-(old-scp-steps).mdtext
- running-openjpa-examples.mdtext
- running-the-sun-tck-for-jpa.mdtext
+done running-openjpa-examples.mdtext
+done running-the-sun-tck-for-jpa.mdtext
done runtime-enhancement.mdtext
helenxu samples.mdtext
- sampletemplate.mdtext
+done sampletemplate.mdtext
sidenav-community.mdtext
sidenav-development.mdtext
sidenav.mdtext
Modified: openjpa/site/trunk/content/running-openjpa-examples.mdtext
URL: http://svn.apache.org/viewvc/openjpa/site/trunk/content/running-openjpa-examples.mdtext?rev=1414460&r1=1414459&r2=1414460&view=diff
==============================================================================
--- openjpa/site/trunk/content/running-openjpa-examples.mdtext (original)
+++ openjpa/site/trunk/content/running-openjpa-examples.mdtext Tue Nov 27 23:10:00 2012
@@ -1,5 +1,6 @@
Title: Running OpenJPA Examples
<a name="RunningOpenJPAExamples-RunningtheOpenJPAExamples"></a>
+
# Running the OpenJPA Examples
The examples are packaged so that they run after extracting the openjpa
@@ -8,34 +9,36 @@ work (not documented here).
1. Build the openjpa binaries
- $ mvn clean install
+ $ mvn clean install
1. extract the binary distribution to a temporary directory
- $ cd openjpa-project/target/site/downloads/
- $ unzip -qq -d temp *binary*.zip
- $ cd temp/$openjpa-version/examples
+ $ cd openjpa-project/target/site/downloads/
+ $ unzip -qq -d temp *binary*.zip
+ $ cd temp/$openjpa-version/examples
1. run the helloJPA sample
- $ cd hellojpa
- $ ant
- $ cd ..
+ $ cd hellojpa
+ $ ant
+ $ cd ..
1. run the relations sample
- $ cd relations
- $ ant
- $ cd ..
+ $ cd relations
+ $ ant
+ $ cd ..
1. run the reversemapping sample
-{note}
-Currently only works on unix platforms
-{note}
-
- $ cd reversemapping
- $ ant
- $ cd ..
+ <table class="info"><tr>
+ <td valign="top"><img src="images/information.gif" width="16" height="16"
border="0">
+ <td>Currently only works on unix platforms
+ </tr></table>
+
+ $ cd reversemapping
+ $ ant
+ $ cd ..
+
Modified: openjpa/site/trunk/content/running-the-sun-tck-for-jpa.mdtext
URL: http://svn.apache.org/viewvc/openjpa/site/trunk/content/running-the-sun-tck-for-jpa.mdtext?rev=1414460&r1=1414459&r2=1414460&view=diff
==============================================================================
--- openjpa/site/trunk/content/running-the-sun-tck-for-jpa.mdtext (original)
+++ openjpa/site/trunk/content/running-the-sun-tck-for-jpa.mdtext Tue Nov 27 23:10:00 2012
@@ -1,5 +1,6 @@
Title: Running the Sun TCK for JPA
<a name="RunningtheSunTCKforJPA-RunningtheSunTCKforJPA"></a>
+
# Running the Sun TCK for JPA
Sun's Technology Compatibility Kit for JPA is available to OpenJPA
@@ -8,25 +9,22 @@ committers (other TCKs are available to
<a name="RunningtheSunTCKforJPA-RequestingaccesstotheTCK"></a>
## Requesting access to the TCK
-1. Review the section "Testing with TCKs" on the[Apache JCP participation page ](-http://www.apache.org/jcp/.html)
+1. Review the section "Testing with TCKs" on the [Apache JCP participation page](http://www.apache.org/jcp/)
1. The OpenJPA project should request access (this has already been done).
-1. Sign the [Apache NDA ](-http://www.apache.org/jcp/apachenda.pdf.html)
- .
-1. Send the signed form to Geir Magnusson Jr. [mailto:geirm@apache.org](mailto:geirm@apache.org.html)
-.
+1. Sign the [Apache NDA](http://www.apache.org/jcp/ApacheNDA.pdf).
+1. Send the signed form to Geir Magnusson Jr. [geirm@apache.org](mailto:geirm@apache.org.html).
Per email with Geir a scan of the signed form is fine.
1. Geir will place a copy of the TCK in your private directory on
people.apache.org.
-The most up to date and complete information can be found on the [Apache JCP participation
page ](-http://www.apache.org/jcp/.html)
+The most up to date and complete information can be found on the [Apache JCP participation
page ](-http://www.apache.org/jcp/)
.
-h2. Once you have a copy of the TCK you can execute the TCK bucket in
-maven.
+## Once you have a copy of the TCK you can execute the TCK bucket in maven.
+
1. copy the tck to $\{user.home\}/.m2/privaterepos/jpa-1_0b-tck.zip
-1. Enable the tck profile and run the integration-test maven goal :
- {code}
- $ mvn integration-test -Ptck-profile
- {code}
+1. Enable the tck profile and run the integration-test maven goal :
+
+ $ mvn integration-test -Ptck-profile
-More information on running the TCK can be found in the pom file for the [tck module ](-http://svn.apache.org/repos/asf/openjpa/trunk/openjpa-integration/tck/pom.xml-.html)
+More information on running the TCK can be found in the pom file for the [tck module ](http://svn.apache.org/repos/asf/openjpa/trunk/openjpa-integration/tck/pom.xml)
Modified: openjpa/site/trunk/content/sampletemplate.mdtext
URL: http://svn.apache.org/viewvc/openjpa/site/trunk/content/sampletemplate.mdtext?rev=1414460&r1=1414459&r2=1414460&view=diff
==============================================================================
--- openjpa/site/trunk/content/sampletemplate.mdtext (original)
+++ openjpa/site/trunk/content/sampletemplate.mdtext Tue Nov 27 23:10:00 2012
@@ -1,44 +1,47 @@
Title: SampleTemplate
<a name="SampleTemplate-AtemplateforOpenJPASamples"></a>
+
# A template for OpenJPA Samples
<a name="SampleTemplate-Introduction"></a>
## Introduction
- A paragraph describing the basic purpose of the presented sample. In
+A paragraph describing the basic purpose of the presented sample. In
general, the purpose of a sample could be, but not limited to,
- * to highlight some new feature introduced in a release (e.g. Bean
+
+* to highlight some new feature introduced in a release (e.g. Bean
Validation or Criteria API)
- * to describe wiring between frameworks e.g. JSF and JPA, GWT and JPA
- * to demonstrate operation within a container e.g. OSGi, Spring, Tomcat
+* to describe wiring between frameworks e.g. JSF and JPA, GWT and JPA
+* to demonstrate operation within a container e.g. OSGi, Spring, Tomcat
or JEE
- * a combination of the above
+* a combination of the above
-For example,
+For example,<br/>
"this sample demonstrates usage of new Bean Validation API in a
multi-tier web application"
or "this sample integrates client-side Google Web Toolkit architecture with
sever-side JPA application".
- The functional features of the samples such as "This OpenBooks example
+
+The functional features of the samples such as "This OpenBooks example
can be used to place order and browse books" -- are not that important in
this context but can be mentioned.
<a name="SampleTemplate-Installation"></a>
## Installation
- State the availability of the sample. For example,
+State the availability of the sample. For example,
- * Is the distribution available as a downloadable archieve? If packaged
+* Is the distribution available as a downloadable archieve? If packaged
in an archieve, all source code, build instructions must be available in
the distribution itself. A *README.txt* should be inside and outside the
distribution.
- * Is the sample to be checked out from code repository? In such cases,
+* Is the sample to be checked out from code repository? In such cases,
building the sample should be done with Ant or Maven. Prefer Ant to make
the dependencies and steps more visible.
- *The steps in this section should be clear and concise for an user to
-follow them to build, deploy and run the sample.*
+**The steps in this section should be clear and concise for an user to
+follow them to build, deploy and run the sample.**
<a name="SampleTemplate-Environment"></a>
@@ -51,7 +54,7 @@ dependencies.
<a name="SampleTemplate-Configuration"></a>
## Configuration
- Often building a sample will require the user to configure dependencies
+Often building a sample will require the user to configure dependencies
(such as OpenJPA libraries or JDBC Driver), for his/her local environment.
The ANT build scripts for a sample must accept configurable properties via
*build.properties* or similar configurable mechanics. The properties
@@ -65,18 +68,19 @@ the user.
<a name="SampleTemplate-BestPractices"></a>
## Best Practices
- The samples, besides demonstration of a feature, are a suitable vehicle
+The samples, besides demonstration of a feature, are a suitable vehicle
of showing good development practices in JPA application programming model
such as persistent domain modeling or architectural practices. It is
-recommended that such best practices be mentioned in several places:
- * in the source code
- * build scripts
- * a separate document that enumerates them in one place.
+recommended that such best practices be mentioned in several places:
+
+* in the source code
+* build scripts
+* a separate document that enumerates them in one place.
<a name="SampleTemplate-Caveats"></a>
## Caveats
- The complete develop-build-run cycle of a sample will often bring out the
+The complete develop-build-run cycle of a sample will often bring out the
special considerations. For example, reported common errors in deployment
in a container and their remedies or certain undesirable usage patterns.
The description of a sample should highlight these special considerations
|