Make it possible to run the TCK in various enhancement modes via system properties.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@561022 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Patrick Linskey 2007-07-30 15:48:14 +00:00
parent 61c0800712
commit ffec0204a1
1 changed files with 3 additions and 2 deletions

View File

@ -179,7 +179,8 @@ database.driver=${db.driver}
</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 @@ database.driver=${db.driver}
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 -->