aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ltw/ant.xml
diff options
context:
space:
mode:
authormwebster <mwebster>2006-10-30 17:18:28 +0000
committermwebster <mwebster>2006-10-30 17:18:28 +0000
commit710844d944208af8b70a64290d1d145123c80fbe (patch)
tree3f035594a6519bf983d3aaf20659121b84c55ce8 /tests/ltw/ant.xml
parent80f9849bacfacca6d108ab375ed8c0c19a2bcfba (diff)
downloadaspectj-710844d944208af8b70a64290d1d145123c80fbe.tar.gz
aspectj-710844d944208af8b70a64290d1d145123c80fbe.zip
Bug 159854 "Problem Diagnosis Guide" (tests)
Diffstat (limited to 'tests/ltw/ant.xml')
-rw-r--r--tests/ltw/ant.xml25
1 files changed, 15 insertions, 10 deletions
diff --git a/tests/ltw/ant.xml b/tests/ltw/ant.xml
index c7f5cc26c..e1cb0a6bd 100644
--- a/tests/ltw/ant.xml
+++ b/tests/ltw/ant.xml
@@ -10,15 +10,12 @@
<target name="JDK14 LTW with XML">
<java fork="yes" classname="HelloWorld" failonerror="yes">
<classpath refid="aj.path"/>
-<!--
- <classpath>
- <pathelement path="${aj.sandbox}/hello.jar"/>
- </classpath>
--->
<jvmarg value="-Djava.system.class.loader=org.aspectj.weaver.loadtime.WeavingURLClassLoader"/>
<sysproperty key="aj.class.path" path="${aj.sandbox}/hello.jar:${aj.sandbox}/handler.jar"/>
+<!--
<jvmarg value="-Daj.weaving.verbose=true"/>
<jvmarg value="-Dorg.aspectj.weaver.showWeaveInfo=true"/>
+-->
<jvmarg value="-Dorg.aspectj.tracing.debug=true"/>
<!-- use META-INF/aop.xml style -->
<!-- <jvmarg value="-javaagent:${aj.root}/lib/test/loadtime5.jar"/>-->
@@ -29,16 +26,13 @@
<target name="JDK14 LTW with ASPECTPATH">
<java fork="yes" classname="HelloWorld" failonerror="yes">
<classpath refid="aj.path"/>
- <!--
- <classpath>
- <pathelement path="${aj.sandbox}/hello.jar"/>
- </classpath>
--->
<jvmarg value="-Djava.system.class.loader=org.aspectj.weaver.loadtime.WeavingURLClassLoader"/>
<sysproperty key="aj.class.path" path="${aj.sandbox}/hello.jar:${aj.sandbox}/handler.jar"/>
<sysproperty key="aj.aspect.path" path="${aj.sandbox}/handler.jar"/>
+<!--
<jvmarg value="-Daj.weaving.verbose=true"/>
<jvmarg value="-Dorg.aspectj.weaver.showWeaveInfo=true"/>
+-->
<jvmarg value="-Dorg.aspectj.tracing.debug=true"/>
<!-- use META-INF/aop.xml style -->
<!-- <jvmarg value="-javaagent:${aj.root}/lib/test/loadtime5.jar"/>-->
@@ -100,4 +94,15 @@
</java>
</target>
+ <target name="simple LTW">
+ <copy file="${aj.root}/tests/ltw/aop-simple.xml"
+ tofile="${aj.sandbox}/META-INF/aop.xml"/>
+ <java fork="yes" classname="HelloWorld" failonerror="yes">
+ <classpath refid="aj.path"/>
+ <!-- use META-INF/aop.xml style -->
+ <jvmarg value="-javaagent:${aj.root}/lib/test/loadtime5.jar"/>
+<!-- <jvmarg line="${jdwp}"/>-->
+ </java>
+ </target>
+
</project>