summaryrefslogtreecommitdiffstats
path: root/ajde/testdata/SecurityManagerTest/build.xml
blob: 2b2496fc169461996ad2953059a887e618104ee4 (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
28
29
30
31
32
33
34
35
36
37
38
<project name="SecurityManagerTest" default="all" basedir=".">

	<property name="aspectj" value="j:\eclipse\aspectj_ws\aj-build\dist\tools\lib"/>
	<property name="aspectjrt" value="${aspectj}/aspectjrt.jar" />
	<property name="aspectjtools" value="${aspectj}/aspectjtools.jar" />

	<taskdef resource="org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties">
		<classpath>
			<pathelement path="${aspectjtools}"/>
		</classpath>
	</taskdef>

	<target name="compile">
		<iajc
			srcdir="${basedir}/src"
			classpath="${aspectjrt}"
			destdir="${basedir}/bin"
			verbose="true"

	       	fork="true"
	       	forkclasspath="${aspectjtools}"
		>
		</iajc>
	</target>
	
	<target name="run">
		<java
			classname="HelloWorld"
			classpath="${basedir}/../../../runtime/bin;${basedir}/bin"
			fork="yes"
		>
			<jvmarg value="-Djava.security.manager"/>
		</java>
	</target>
	
	<target name="all" depends="compile, run"/>

</project>