blob: 5bd931aa59b38bad2f8de458c74b2dbe7bfcc883 (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
<?xml version="1.0"?>
<project name="testing" default="all" basedir=".">
<import file="../build/build-common.xml"/>
<import file="../ajde/build.xml"/>
<import file="../bridge/build.xml"/>
<import file="../taskdefs/build.xml"/>
<import file="../testing-client/build.xml"/>
<path id="testing.test.src.path">
<path refid="testing.src.path"/>
<fileset dir="${basedir}/../lib">
<include name="junit/*.jar"/>
</fileset>
<!-- for test run -->
<pathelement path="../org.aspectj.ajdt.core/bin"/>
<pathelement path="../weaver/bin"/>
<pathelement path="../runtime/bin"/>
<fileset dir="${basedir}/../org.eclipse.jdt.core">
<include name="*.jar"/>
</fileset>
<fileset dir="${basedir}/../lib">
<include name="bcel/*.jar"/>
</fileset>
</path>
<path id="testing.src.path">
<pathelement path="../ajde/bin"/>
<pathelement path="../asm/bin"/>
<pathelement path="../bridge/bin"/>
<pathelement path="../taskdefs/bin"/>
<pathelement path="../testing-client/bin"/>
<pathelement path="../testing-util/bin"/>
<pathelement path="../util/bin"/>
<fileset dir="${basedir}/../lib">
<include name="commons/*.jar"/>
</fileset>
<!-- for newsrc -->
<pathelement path="../org.aspectj.ajdt.core/bintest"/>
</path>
<target name="compile" depends="init,
ajde.compile,
asm.compile,
bridge.compile,
taskdefs.compile,
testing-client.compile,
testing-util.compile,
util.compile">
<srccompile project="testing" path="testing.src.path"/>
<!-- newsrc depends on ajdt.test:compile and we cannot use a depends for it due to the way
Ant manage overrides thru <import -->
<testcompile project="weaver" path="weaver.test.src.path"/>
<testcompile project="org.aspectj.ajdt.core" path="org.aspectj.ajdt.core.test.src.path"/>
<javac debug="on" destdir="../testing/bin" source="1.2" target="1.1">
<src path="../testing/newsrc"/>
<classpath refid="testing.src.path"/>
<classpath path="../org.aspectj.ajdt.core/bintest"/>
</javac>
</target>
<target name="test:compile" depends="compile">
<testcompile project="testing" path="testing.test.src.path"/>
</target>
<target name="test" depends="test:compile,
org.aspectj.ajdt.core.compile,
weaver.compile,
runtime.compile">
<testrun project="testing" path="testing.test.src.path" suite="TestingModuleTests"/>
</target>
</project>
|