blob: 41c07c1f1b78c9c52559a8ca8f2b4d429c6a206b (
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
|
<?xml version="1.0"?>
<project name="loadtime5" default="all" basedir=".">
<import file="../build/build-common.xml"/>
<import file="../asm/build.xml"/>
<import file="../bridge/build.xml"/>
<import file="../loadtime/build.xml"/>
<import file="../weaver/build.xml"/>
<import file="../util/build.xml"/>
<import file="../runtime/build.xml/"/>
<import file="../aspectj5rt/build.xml"/>
<path id="loadtime5.src.path">
<pathelement path="../asm/bin"/>
<pathelement path="../bridge/bin"/>
<pathelement path="../loadtime/bin"/>
<pathelement path="../weaver/bin"/>
<fileset dir="${basedir}/../lib">
<include name="bcel/*.jar"/>
</fileset>
</path>
<target name="compile" depends="init,
asm.compile,
bridge.compile,
loadtime.compile,
weaver.compile" if="jdk15">
<!-- FIXME: we override compile due to use of 1.5 -->
<mkdir dir="${basedir}/bin"/>
<javac debug="on" destdir="${basedir}/bin" source="1.5" target="1.5">
<src path="${basedir}/java5-src"/>
<classpath refid="loadtime5.src.path"/>
</javac>
</target>
<target name="jar" depends="compile">
<delete file="${build.ajdir}/jars/loadtime5.jar"/>
<copy file="loadtime5.mf.txt" todir="${build.ajdir}/temp" filtering="yes"/>
<jar destfile="${build.ajdir}/jars/loadtime5.jar" manifest="${build.ajdir}/temp/loadtime5.mf.txt">
<fileset dir="bin">
<include name="**/*"/>
</fileset>
</jar>
<!-- FIXME AV we can push it to lib/test as well for the AntSpec need -->
</target>
</project>
|