Author: kwsutter
Date: Tue Apr 16 15:48:56 2013
New Revision: 1468476
URL: http://svn.apache.org/r1468476
Log:
Added some instructions for what needs to be updated when moving to a new
revision of the TCK.
Modified:
openjpa/site/trunk/content/running-the-sun-tck-for-jpa.mdtext
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=1468476&r1=1468475&r2=1468476&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 Apr 16
15:48:56 2013
@@ -30,3 +30,18 @@ The most up to date and complete informa
$ mvn integration-test -Ptck2-profile
More information on running the TCK can be found in the [pom.xml file for the
tck
module](http://svn.apache.org/repos/asf/openjpa/trunk/openjpa-integration/tck/pom.xml)
and the corresponding [ant script for the current
tck](http://svn.apache.org/repos/asf/openjpa/trunk/openjpa-integration/tck/tck2-20110815.xml).
+
+## What to do with a new revision of the TCK
+
+Periodically, the TCK is updated by Oracle. This may be a maintenance
release, or it may be due to a new release of the JPA specification.
+In either case, there are a few steps that need to be performed to recognize
and execute this updated TCK test bucket.
+
+1. Create an xml file specific to the updated TCK. The name is based off the
TCK level and date of the release.
+The easiest way is to copy an existing version (ie. tck2-20110815.xml).
+1. Update this entry in the newly created xml file to point at the downloaded
TCK zip file name:<br>
+< property name="tck.level" value="jpatck-2.0_15-Aug-2011" \\>
+1. Update the openjpa-integration/tck/pom.xml by modifying this entry
appropriately:<br>
+< tck2.level \>20110815< /tck2.level>
+1. You may also need to create a new tckx-profile, if it's required for a new
release of the specification. I'll leave that as an exercise for
+the next editor...
+