diff options
Diffstat (limited to 'bcel-builder/build.xml')
-rw-r--r-- | bcel-builder/build.xml | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/bcel-builder/build.xml b/bcel-builder/build.xml index a12e7ef7c..0310d4c3f 100644 --- a/bcel-builder/build.xml +++ b/bcel-builder/build.xml @@ -4,21 +4,36 @@ <target name="jar"> <copy file="../lib/regexp/jakarta-regexp-1.2.jar" - tofile="bcel/lib/regexp-1.2.jar" /> + tofile="bcel/lib/Regex.jar" /> <ant dir="bcel" target="jar" /> <copy file="bcel/bin/bcel.jar" toDir="." /> </target> + <target name="update"> + <copy file="bcel.jar" todir="../lib/bcel" /> + </target> + <target name="pack"> + <move toDir="bcel/src/java"> + <fileset dir="src" /> + </move> </target> - <target name="unpack" depends="extract,patch" /> + <target name="unpack" depends="extract,patch,srcclean"> + <move toDir="src"> + <fileset dir="bcel/src/java" /> + </move> + </target> <target name="extract"> <unzip src="bcel-5.1-src.zip" dest="." /> </target> - <target name="clean"> + <target name="srcclean"> + <delete dir="src/org" /> + </target> + + <target name="clean" depends="srcclean"> <delete dir="bcel-5.1" /> <delete dir="bcel" /> </target> |