diff options
author | aclement <aclement> | 2005-04-19 10:38:38 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-04-19 10:38:38 +0000 |
commit | f7bcff6dbf16ed80ca4934fd8529deae6ebdde7c (patch) | |
tree | 2362d53afe3cb37c15b9ff0a3d513fcad9e0b89b /weaver/build.xml | |
parent | 45ae94da9e44a31f970c9f5ee4f678902b26fc17 (diff) | |
download | aspectj-f7bcff6dbf16ed80ca4934fd8529deae6ebdde7c.tar.gz aspectj-f7bcff6dbf16ed80ca4934fd8529deae6ebdde7c.zip |
From branch: New build scripts that Alex uses under IntelliJ - can be run individually or via master in build module.
Diffstat (limited to 'weaver/build.xml')
-rw-r--r-- | weaver/build.xml | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/weaver/build.xml b/weaver/build.xml new file mode 100644 index 000000000..040435c0f --- /dev/null +++ b/weaver/build.xml @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<project name="weaver" default="all" basedir="."> + + <import file="../build/build-common.xml"/> + <import file="../asm/build.xml"/> + <import file="../runtime/build.xml"/> + <import file="../util/build.xml"/> + <import file="../testing-util/build.xml"/> + + <path id="weaver.test.src.path"> + <pathelement path="../testing-util/bin"/> + <fileset dir="${basedir}/../lib"> + <include name="junit/*.jar"/> + <include name="jdiff/*.jar"/> + </fileset> + <path refid="weaver.src.path"/> + </path> + + <path id="weaver.src.path"> + <pathelement path="../asm/bin"/> + <pathelement path="../bridge/bin"/> + <pathelement path="../runtime/bin"/> + <pathelement path="../util/bin"/> + <fileset dir="${basedir}/../lib"> + <include name="bcel/*.jar"/> + </fileset> + </path> + + <target name="compile" depends="init, + asm.compile, + bridge.compile, + runtime.compile, + util.compile"> + <srccompile project="weaver" path="weaver.src.path"/> + <!-- copy resources --> + <copy todir="../weaver/bin"> + <fileset dir="../weaver/src" includes="**/*.properties"/> + </copy> + </target> + + <target name="test:compile" depends="compile, + testing-util.compile"> + <testcompile project="weaver" path="weaver.test.src.path"/> + </target> + + <target name="test" depends="test:compile"> + <testrun project="weaver" path="weaver.test.src.path" suite="org.aspectj.weaver.BcweaverModuleTests"/> + </target> + + <target name="jar" depends="compile"> + <delete file="${build.ajdir}/jars/weaver.jar"/> + <copy file="weaver.mf.txt" todir="${build.ajdir}/temp" filtering="yes"/> + <jar destfile="${build.ajdir}/jars/weaver.jar" manifest="${build.ajdir}/temp/weaver.mf.txt"> + <fileset dir="bin"> + <include name="**/*"/> + </fileset> + </jar> + </target> + <!-- FIXME av weaver-all needed ? --> + +</project> + |