You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by pc...@apache.org on 2007/07/30 17:48:15 UTC

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

Author: pcl
Date: Mon Jul 30 08:48:14 2007
New Revision: 561022

URL: http://svn.apache.org/viewvc?view=rev&rev=561022
Log:
Make it possible to run the TCK in various enhancement modes via system properties.

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?view=diff&rev=561022&r1=561021&r2=561022
==============================================================================
--- openjpa/trunk/openjpa-integration/tck/pom.xml (original)
+++ openjpa/trunk/openjpa-integration/tck/pom.xml Mon Jul 30 08:48:14 2007
@@ -179,7 +179,8 @@
                         </path>
                         <pathconvert dirsep="/" property="agent" 
                             refid="agent.path"/>
-                        <echo>AGENT: ${agent}</echo>
+                        <property name="agent.properties" value=""/>
+                        <echo>AGENT: ${agent}${agent.properties}</echo>
 
                         <!--
                             Replace the existing javaagent argument (which
@@ -189,7 +190,7 @@
                             persistent classes to work (like the SignatureTest)
                         -->
                         <replace file="${jpatck.config}">
-                            <replacefilter token="-javaagent:${jpa.home}/lib/toplink-essentials-agent.jar" value="-javaagent:${agent} -Dopenjpa.MetaDataFactory=jpa(DefaultAccessType=PROPERTY)"/>
+                            <replacefilter token="-javaagent:${jpa.home}/lib/toplink-essentials-agent.jar" value="-javaagent:${agent}${agent.properties} -Dopenjpa.MetaDataFactory=jpa(DefaultAccessType=PROPERTY)"/>
                         </replace>
 
                         <!-- make a macro for the TCK harness launcher -->