You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by mp...@apache.org on 2007/02/09 07:16:08 UTC

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

Author: mprudhom
Date: Thu Feb  8 22:16:07 2007
New Revision: 505197

URL: http://svn.apache.org/viewvc?view=rev&rev=505197
Log:
Restored TCK logic that I accidentally deleted.

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

Modified: incubator/openjpa/trunk/openjpa-integration/tck/pom.xml
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-integration/tck/pom.xml?view=diff&rev=505197&r1=505196&r2=505197
==============================================================================
--- incubator/openjpa/trunk/openjpa-integration/tck/pom.xml (original)
+++ incubator/openjpa/trunk/openjpa-integration/tck/pom.xml Thu Feb  8 22:16:07 2007
@@ -67,6 +67,16 @@
 
                         <property name="tck.zip" value=
                             "${settings.localRepository}/../privaterepos/jpa-1_0a-tck.zip"/>
+                        <!-- patch from Anderson for mappedBy bug -->
+                        <property name="tck.patch" value=
+                            "${settings.localRepository}/../privaterepos/jpa-tck-inheritance-mappedBy.jar"/>
+
+                         <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>
+
+                        <available property="tck.patch.available" file="${tck.patch}"/>
+                        <fail unless="tck.patch.available">The TCK patch ${tck.patch} does not exist. This file must be downloaded separately in order to be able to run the JPA TCK</fail>
+
 
                         <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>
@@ -83,6 +93,10 @@
 
                         <unzip overwrite="false"
                             src="${tck.zip}" dest="${tck.base}"/>
+
+                        <!-- unpack the patch over the TCK -->
+                        <unzip overwrite="true"
+                            src="${tck.patch}" dest="${tck.dir}"/>
 
                         <property name="db.driver"
                             value="org.apache.derby.jdbc.EmbeddedDriver"/>