summaryrefslogtreecommitdiffstats
path: root/tests/harness/classpathTest/build.xml
blob: 04b73ba19a4553d44483a0a881668b58cf451745 (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
<project name="classpathTest" default="aspect">
	<target name="aspect"
		description="produce AspectMain.jar">
		<property name="lib.dir"
	    	location="../../../lib"/>
		<property name="aspectj.lib.dir"
	    	location="${lib.dir}/aspectj/lib"/>
	    <taskdef resource="org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties">
    		<classpath> 
        		<pathelement path="${aspectj.lib.dir}/aspectjtools.jar"/> 
			</classpath>
		</taskdef>
		<iajc
			outjar="jars/AspectMain.jar"
		    fork="true"
		    forkclasspath="${aspectj.lib.dir}/aspectjtools.jar"
	        srcdir="." includes="AspectMain.java">           
			<classpath>
	    	    <pathelement path="${aspectj.lib.dir}/aspectjrt.jar"/> 
	    	    <pathelement path="${lib.dir}/test/testing-client.jar"/> 
	  	        <pathelement path="jars/required.jar"/> 
	  	        <pathelement path="classesDir"/> 
		        <pathelement path="jars/requiredAspects.jar"/> 
			</classpath>
		</iajc>
	</target>	
</project>