aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs153/pr157474/ant-server.xml
blob: af315984ad92aec0e5e328ee1c21f178bf66a822 (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
<!-- 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>