You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by dw...@apache.org on 2010/01/12 17:26:25 UTC

svn commit: r898405 - /openjpa/trunk/openjpa-integration/tck/pom.xml

Author: dwoods
Date: Tue Jan 12 16:26:25 2010
New Revision: 898405

URL: http://svn.apache.org/viewvc?rev=898405&view=rev
Log:
updates to unzip JPA2 TCK required patches file

Modified:
    openjpa/trunk/openjpa-integration/tck/pom.xml

Modified: openjpa/trunk/openjpa-integration/tck/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-integration/tck/pom.xml?rev=898405&r1=898404&r2=898405&view=diff
==============================================================================
--- openjpa/trunk/openjpa-integration/tck/pom.xml (original)
+++ openjpa/trunk/openjpa-integration/tck/pom.xml Tue Jan 12 16:26:25 2010
@@ -109,19 +109,21 @@
                     <tasks>
                         <echo>Running Sun JPA 2.0 TCK</echo>
 
-                        <property name="tck.zip" value="${settings.localRepository}/../privaterepos/jpatck-2.0_09-Dec-2009.zip" />
-                         <available property="tck.available" file="${tck.zip}" />
-                        <fail unless="tck.available">The TCK file ${tck.zip} does not exist. This file must be downloaded separately in order to be able to run the JPA TCK</fail>
-
+                        <property name="tck.level" value="jpatck-2.0_09-Dec-2009" />
+                        <property name="tck.zip" value="${settings.localRepository}/../privaterepos/${tck.level}.zip" />
                         <available property="tck.available" file="${tck.zip}" />
-                        <fail unless="tck.available">The TCK file specific in the "tck.zip" system property (${tck.zip}) does not exist. This file must be downloaded separately in order to be able to run the JPA TCK</fail>
+                        <fail unless="tck.available">The TCK file specified in the "tck.zip" system property (${tck.zip}) does not exist. This file must be downloaded separately in order to be able to run the JPA 2.0 TCK</fail>
+
+                        <property name="tck_patches.zip" value="${settings.localRepository}/../privaterepos/${tck.level}_patches.zip" />
+                        <available property="tck_patches.available" file="${tck_patches.zip}" />
+                        <fail unless="tck_patches.available">The TCK patches file specified in the "tck_patches.zip" system property (${tck_patches.zip}) does not exist. This file must be downloaded separately in order to be able to run the JPA 2.0 TCK</fail>
 
                         <property name="tck.base" value="${basedir}/target/tck" />
                         <property name="tck.dir" value="${tck.base}/jpatck" />
 
                         <delete dir="${tck.dir}" />
-
                         <unzip overwrite="false" src="${tck.zip}" dest="${tck.base}" />
+                        <unzip overwrite="true" src="${tck_patches.zip}" dest="${tck.base}" />
 
                         <!-- 
                             Setup jpa.classes to only use the Maven artifacts