Index: README.html =================================================================== --- README.html (revision 1578549) +++ README.html (working copy) @@ -46,9 +46,11 @@

JDO releases may be downloaded from the Apache JDO downloads page. @@ -89,21 +91,21 @@ MAVEN_OPTS.

-

JNDI implementation (fscontext.jar and providerutil.jar)

+

JNDI Implementation (fscontext.jar and providerutil.jar)

The JNDI test cases in tck need a JNDI implementation. The TCK is configured to use Sun's JNDI implementation. To use your own implementation, put the implementation -jar files into tck/lib/ext and update jndi.properties in the TCK directory -src/conf. To download Sun's implementation, go to -http://java.sun.com/products/jndi/downloads/index.html, -click the Download button at Download JNDI 1.2.1 & More, accept a license -agreement, download File System Service Provider, 1.2 Beta 3 and then unpack -the downloaded zip into tck/lib/ext. It includes the jars fscontext.jar and providerutil.jar. +jar files into lib/ext and update jndi.properties in the TCK directory +src/conf. To download Oracle's implementation, go to + + http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-java-plat-419418.html#7110-jndi-1.2.1-oth-JPR. +Aaccept the license agreement and download File System Service Provider, 1.2 Beta 3 and then unpack +the downloaded zip into lib/ext. It includes the jars fscontext.jar and providerutil.jar.

-

Building from top level tck project

+

Building from Top Level TCK Project

For instructions for checking out the JDO source, see the Apache JDO source code page. @@ -117,37 +119,23 @@

To build the API, change to the "api" directory of the branch you are working in (or trunk) and run

mvn clean install
-This will build the jdo-api artifact and install it in your local Maven2 repository. +This will build the jdo-api artifact and install it in your local Maven2 repository and +run the TCK on the Reference Implementation.

-

Running the TCK

+

Running the TCK on an Implementation Under Test

-To run the JDO TCK on the Reference Implementation, copy the following files to the top-level -lib/jdori directory. Copy log4j.properties from tck/src/conf. The others may be downloaded from the maven repository. -

-
asm-3.0.jar
-
c3p0-0.9.0.2.jar
-
datanucleus-api-jdo-3.0.7.jar
-
datanucleus-api-jpa-3.0.8.jar
-
datanucleus-core-3.0.9.jar
-
datanucleus-enhancer-3.0.1.jar
-
datanucleus-rdbms-3.0.8.jar
-
log4j-1.2.13.jar
-
log4j.properties
-
+First build the from the top level TCK project as described above. To run the JDO TCK on an Implementation Under Test, copy the jars needed by the implementation -to the top-level lib/jdori directory, as well as log4j.properties and log4j-1.2.13.jar. -
-

-Then change to the "exectck" directory of the branch you are working in (or trunk) and run -

mvn clean install
This builds and installs the "jdo-exectck" Maven plugin in your -local Maven2 repository. +to the top-level lib/iut directory, as well as log4j.properties and log4j-1.2.13.jar. +The log4j jar file may be copied from lib/jdori.

Change to the "tck" directory of the branch you are working in (or trunk) and run -

mvn clean install
and this will run the TCK (via the "jdo-exectck" plugin) on the JDO Reference Implementation on all -supported databases and identity types. +
mvn -Djdo.tck.impl="iut" clean install
and this will run the TCK +(via the "jdo-exectck" plugin) on the Implementation Under Test +on all supported databases and identity types.

The "jdo-exectck" plugin has various options so you can run other implementations or Index: tck/RunRules.html =================================================================== --- tck/RunRules.html (revision 1578549) +++ tck/RunRules.html (working copy) @@ -18,7 +18,7 @@ - JDO 3.0 Technology Compatibility Kit Run Rules + JDO 3.1 Technology Compatibility Kit Run Rules -

Running the JDO 3.0 Technology Compatibility Kit

+

Running the JDO 3.1 Technology Compatibility Kit



24-May-2010

@@ -52,47 +52,36 @@ versions of Java, and different datastores. The TCK supports Java versions 1.5 to 1.6.

Installation

-

Download the zip file from the distribution location. Unpack the zip -file into a directory of your choice. In this directory you will -find: +

Download the jdo.3.x-src.zip or jdo.3.x-src.gz file from the distribution location. Unpack the archive file into a directory of your choice. +Follow the instructions in the root level README.html file for building and running the JDO TCK. +Please take note of the following files: