aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs153/pr157474/ant-server.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs153/pr157474/ant-server.xml')
-rw-r--r--tests/bugs153/pr157474/ant-server.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/bugs153/pr157474/ant-server.xml b/tests/bugs153/pr157474/ant-server.xml
new file mode 100644
index 000000000..af315984a
--- /dev/null
+++ b/tests/bugs153/pr157474/ant-server.xml
@@ -0,0 +1,27 @@
+<!-- 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 duplicate configuration">
+ <copy file="${aj.root}/tests/bugs153/pr157474/server-applicationandlibrary.properties"
+ tofile="${aj.sandbox}/server.properties"/>
+
+ <mkdir dir="${aj.sandbox}/Application"/>
+ <copy file="${aj.root}/tests/bugs153/pr157474/aop-application.xml"
+ tofile="${aj.sandbox}/Application/META-INF/aop.xml"/>
+
+ <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"/>
+<!-- <jvmarg value="-Dorg.aspectj.testing.server.debug=true"/>-->
+ <arg path="${aj.sandbox}"/>
+ </java>
+ </target>
+
+</project>