diff options
author | ehilsdal <ehilsdal> | 2004-01-27 19:24:46 +0000 |
---|---|---|
committer | ehilsdal <ehilsdal> | 2004-01-27 19:24:46 +0000 |
commit | b7cb32b47315334b87e821504aa8d41551f8a9a1 (patch) | |
tree | 7d2e2327dc0365ea3f475a1227490e71d48c78e3 /bcel-builder/build.xml | |
parent | 7bcfb2467baab99b39b4e6c4c289a156854f4bbd (diff) | |
download | aspectj-b7cb32b47315334b87e821504aa8d41551f8a9a1.tar.gz aspectj-b7cb32b47315334b87e821504aa8d41551f8a9a1.zip |
initial stab at a bcel-building module
Diffstat (limited to 'bcel-builder/build.xml')
-rw-r--r-- | bcel-builder/build.xml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/bcel-builder/build.xml b/bcel-builder/build.xml new file mode 100644 index 000000000..a12e7ef7c --- /dev/null +++ b/bcel-builder/build.xml @@ -0,0 +1,45 @@ +<project default="unpackAndJar" basedir="."> + + <target name="unpackAndJar" depends="unpack,jar" /> + + <target name="jar"> + <copy file="../lib/regexp/jakarta-regexp-1.2.jar" + tofile="bcel/lib/regexp-1.2.jar" /> + <ant dir="bcel" target="jar" /> + <copy file="bcel/bin/bcel.jar" toDir="." /> + </target> + + <target name="pack"> + </target> + + <target name="unpack" depends="extract,patch" /> + + <target name="extract"> + <unzip src="bcel-5.1-src.zip" dest="." /> + </target> + + <target name="clean"> + <delete dir="bcel-5.1" /> + <delete dir="bcel" /> + </target> + + <target name="patch"> + <copy todir="bcel"> + <fileset dir="bcel-5.1" /> + </copy> + <patch patchfile="patch.txt" strip="1" dir="bcel" /> + </target> + + <target name="diff"> + <exec dir="." executable="diff.exe" output="patch.txt"> + <arg line="-N"/> + <arg line="-a"/> + <arg line="-u"/> + <arg line="-r"/> + <arg line="-b"/> + <arg line="bcel-5.1" /> + <arg line="bcel" /> + </exec> + </target> + +</project> |