You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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