diff options
author | avasseur <avasseur> | 2005-05-04 14:42:14 +0000 |
---|---|---|
committer | avasseur <avasseur> | 2005-05-04 14:42:14 +0000 |
commit | cc7137d761b7232996f20b84958d9e714075d113 (patch) | |
tree | eefd46b79c9a84942c86e6288fe0749da89948d5 /loadtime/build.xml | |
parent | d5d800b24cd16c1bb8b99e3216b30b6b3fbb56a4 (diff) | |
download | aspectj-cc7137d761b7232996f20b84958d9e714075d113.tar.gz aspectj-cc7137d761b7232996f20b84958d9e714075d113.zip |
loadtime java1.3 module
Diffstat (limited to 'loadtime/build.xml')
-rw-r--r-- | loadtime/build.xml | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/loadtime/build.xml b/loadtime/build.xml new file mode 100644 index 000000000..dbdfa8ef6 --- /dev/null +++ b/loadtime/build.xml @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<project name="loadtime" default="all" basedir="."> + + <import file="../build/build-common.xml"/> + <import file="../asm/build.xml"/> + <import file="../bridge/build.xml"/> + <import file="../util/build.xml"/> + <import file="../weaver/build.xml"/> + + + <path id="loadtime.test.src.path"> + <fileset dir="${basedir}/../lib"> + <include name="junit/*.jar"/> + </fileset> + <path refid="loadtime.src.path"/> + </path> + + <path id="loadtime.src.path"> + <pathelement path="../asm/bin"/> + <pathelement path="../bridge/bin"/> + <pathelement path="../util/bin"/> + <pathelement path="../weaver/bin"/> + <fileset dir="${basedir}/../lib"> + <include name="bcel/*.jar"/> + </fileset> + </path> + + <target name="compile" depends="init, + asm.compile, + bridge.compile, + util.compile, + weaver.compile"> + <srccompile project="loadtime" path="loadtime.src.path"/> + <!-- copy resources --> + <copy todir="../loadtime/bin"> + <fileset dir="../loadtime/src" includes="**/*.dtd"/> + </copy> + </target> + + <target name="test:compile" depends="compile"> + <testcompile project="loadtime" path="loadtime.src.path"/> + <!-- copy resources --> + <copy todir="../loadtime/bin"> + <fileset dir="../loadtime/testsrc" includes="**/*.xml"/> + </copy> + </target> + + <target name="test" depends="test:compile"> + <testrun project="loadtime" path="loadtime.test.src.path" suite="LoadtimeModuleTests"/> + </target> + + <target name="jar" depends="compile"> + <delete file="${build.ajdir}/jars/loadtime.jar"/> + <jar destfile="${build.ajdir}/jars/loadtime.jar"> + <fileset dir="bin"> + <include name="**/*"/> + </fileset> + </jar> + </target> + +</project> + |