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.

ant-server.xml 2.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. <!-- <jvmarg value="${aj.addOpensKey}"/>-->
  16. <!-- <jvmarg value="${aj.addOpensValue}"/>-->
  17. <!--<jvmarg value="-Dorg.aspectj.testing.server.debug=true"/>-->
  18. <sysproperty key="org.aspectj.dump.directory" path="${aj.sandbox}"/>
  19. <arg path="${aj.sandbox}"/>
  20. </java>
  21. </target>
  22. <target name="TestServer with Parent and Child">
  23. <copy file="${aj.root}/tests/ltw/server-parentandchild.properties"
  24. tofile="${aj.sandbox}/server.properties"/>
  25. <java fork="yes" classname="org.aspectj.testing.server.TestServer" failonerror="yes">
  26. <classpath refid="aj.path"/>
  27. <jvmarg value="-javaagent:${aj.root}/lib/test/loadtime5.jar"/>
  28. <jvmarg value="-Daj.weaving.verbose=true"/>
  29. <jvmarg value="-Dorg.aspectj.weaver.showWeaveInfo=true"/>
  30. <!-- <jvmarg value="${aj.addOpensKey}"/>-->
  31. <!-- <jvmarg value="${aj.addOpensValue}"/>-->
  32. <!--<jvmarg value="-Dorg.aspectj.testing.server.debug=true"/>-->
  33. <sysproperty key="org.aspectj.dump.directory" path="${aj.sandbox}"/>
  34. <arg path="${aj.sandbox}"/>
  35. </java>
  36. </target>
  37. </project>