openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r934884 - in /openjpa/trunk/openjpa-integration/tck: pom.xml tck2.xml
Date Fri, 16 Apr 2010 14:05:00 GMT
Author: dwoods
Date: Fri Apr 16 14:05:00 2010
New Revision: 934884

URL: http://svn.apache.org/viewvc?rev=934884&view=rev
Log:
update tck2 scripts

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

Modified: openjpa/trunk/openjpa-integration/tck/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-integration/tck/pom.xml?rev=934884&r1=934883&r2=934884&view=diff
==============================================================================
--- openjpa/trunk/openjpa-integration/tck/pom.xml (original)
+++ openjpa/trunk/openjpa-integration/tck/pom.xml Fri Apr 16 14:05:00 2010
@@ -73,6 +73,10 @@
         <version>2.1.0-SNAPSHOT</version>
     </parent>
 
+    <properties>
+        <openjpa.Log>DefaultLevel=WARN</openjpa.Log>
+    </properties>
+
     <profiles>
       <profile>
         <!-- JPA 2.0 TCK Profile -->

Modified: openjpa/trunk/openjpa-integration/tck/tck2.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-integration/tck/tck2.xml?rev=934884&r1=934883&r2=934884&view=diff
==============================================================================
--- openjpa/trunk/openjpa-integration/tck/tck2.xml (original)
+++ openjpa/trunk/openjpa-integration/tck/tck2.xml Fri Apr 16 14:05:00 2010
@@ -20,10 +20,11 @@
 
 <!--
     This ANT build file is used to run the JPA 2.0 TCK. It assumes that you have
-    the TCK and patches zip files located at:
+    the TCK, config  and patches zip files located at:
 
         ${user.home}/.m2/privaterepos/jpatck-2.0_09-Dec-2009.zip
-        ${user.home}/.m2/privaterepos/jpatck-2.0_20100414_patches.zip
+        ${user.home}/.m2/privaterepos/jpatck-2.0_09-Dec-2009_config.zip
+        ${user.home}/.m2/privaterepos/jpatck-2.0_09-Dec-2009_patches.zip
 
     If you have that file in a different location, it can be specified with
     the "tck.zip" and "tck_patches.zip" system property.
@@ -57,13 +58,17 @@
         <available property="tck.available" file="${tck.zip}" />
         <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.patch.level" value="20100414" />
-        <property name="tck_patches.zip" value="${LOCAL_M2_REPO}/../privaterepos/jpatck-2.0_${tck.patch.level}_patches.zip"
/>
+        <property name="tck_config.zip" value="${LOCAL_M2_REPO}/../privaterepos/${tck.level}_config.zip"
/>
+        <available property="tck_config.available" file="${tck_config.zip}" />
+        <fail unless="tck_config.available">The TCK config file specified in the "tck_config.zip"
system property (${tck_config.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="${LOCAL_M2_REPO}/../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>
 
         <delete dir="${tck.dir}" />
         <unzip overwrite="false" src="${tck.zip}" dest="${tck.base}" />
+        <unzip overwrite="true" src="${tck_config.zip}" dest="${tck.base}" />
         <unzip overwrite="true" src="${tck_patches.zip}" dest="${tck.base}" />
         <copy overwrite="true"
             file="${tck.dir}/bin/ts.jte" tofile="${tck.dir}/bin/ts.jte.orig" />
@@ -71,6 +76,8 @@
             file="${tck.dir}/bin/ts.jtx" tofile="${tck.dir}/bin/ts.jtx.orig" />
         <!-- Pluggability tests using Toplink needs this dir created -->
         <mkdir dir="${tck.dir}/domains/domain1/logs" />
+        <!-- create other missing directory -->
+        <mkdir dir="${tck.dir}/weblib" />
     </target>
 
 



Mime
View raw message