blob: 33dba5c08e80acdcb61c5ec5dd0f1dddde5daaaa (
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
|
<?xml version="1.0"?>
<project name="ajde" default="all" basedir=".">
<import file="../build/build-common.xml"/>
<import file="../runtime/build.xml"/>
<import file="../org.aspectj.ajdt.core/build.xml"/>
<path id="ajde.test.src.path">
<path refid="ajde.src.path"/>
<pathelement path="../org.aspectj.ajdt.core/bintest"/>
<pathelement path="../weaver/bin"/>
<pathelement path="../runtime/bin"/>
<fileset dir="${basedir}/../lib">
<include name="bcel/*.jar"/>
<include name="junit/*.jar"/>
</fileset>
</path>
<path id="ajde.src.path">
<fileset dir="${basedir}/../org.eclipse.jdt.core">
<include name="*.jar"/>
</fileset>
<pathelement path="../asm/bin"/>
<pathelement path="../bridge/bin"/>
<pathelement path="../org.aspectj.ajdt.core/bin"/>
<pathelement path="../util/bin"/>
</path>
<target name="compile" depends="init,
asm.compile,
bridge.compile,
org.aspectj.ajdt.core.compile,
util.compile">
<srccompile project="ajde" path="ajde.src.path"/>
<!-- copy resources -->
<copy todir="../ajde/bin">
<fileset dir="../ajde/src" includes="**/*.gif"/>
</copy>
</target>
<target name="test:compile" depends="compile,
org.aspectj.ajdt.core.test:compile,
weaver.test:compile">
<testcompile project="ajde" path="ajde.test.src.path"/>
</target>
<target name="test" depends="test:compile,
runtime.compile">
<testrun project="ajde" path="ajde.test.src.path" suite="AjdeModuleTests"/>
</target>
<target name="jar" depends="compile">
<delete file="${build.ajdir}/jars/ajde.jar"/>
<zip destfile="${build.ajdir}/jars/ajde.jar">
<fileset dir="bin">
<include name="**/*"/>
</fileset>
</zip>
</target>
</project>
|