blob: 31baef28fdec5f98b76e94afe17ad33dd84c81fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
<!-- ajc-ant script, not to be used from Ant commant line - see AntSpec -->
<project name="ltw">
<!-- using this we can debug the forked VM -->
<property
name="jdwp"
value="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"/>
<target name="TestServer with HelloWorld">
<copy file="${aj.root}/tests/ltw/server-helloworld.properties"
tofile="${aj.sandbox}/server.properties"/>
<java fork="yes" classname="org.aspectj.testing.server.TestServer" failonerror="yes">
<classpath refid="aj.path"/>
<jvmarg value="-javaagent:${aj.root}/lib/test/loadtime5.jar"/>
<jvmarg value="-Daj.weaving.verbose=true"/>
<jvmarg value="-Dorg.aspectj.weaver.showWeaveInfo=true"/>
<sysproperty key="org.aspectj.dump.directory" path="${aj.sandbox}"/>
<!-- <jvmarg value="-Dorg.aspectj.testing.server.debug=true"/>-->
<arg path="${aj.sandbox}"/>
</java>
</target>
<target name="TestServer with Parent and Child">
<copy file="${aj.root}/tests/ltw/server-parentandchild.properties"
tofile="${aj.sandbox}/server.properties"/>
<java fork="yes" classname="org.aspectj.testing.server.TestServer" failonerror="yes">
<classpath refid="aj.path"/>
<jvmarg value="-javaagent:${aj.root}/lib/test/loadtime5.jar"/>
<jvmarg value="-Daj.weaving.verbose=true"/>
<jvmarg value="-Dorg.aspectj.weaver.showWeaveInfo=true"/>
<sysproperty key="org.aspectj.dump.directory" path="${aj.sandbox}"/>
<!-- <jvmarg value="-Dorg.aspectj.testing.server.debug=true"/>-->
<arg path="${aj.sandbox}"/>
</java>
</target>
</project>
|