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
|
Description: Fix the Ant script to build BCEL
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: no
--- a/bcel-builder/build.xml
+++ b/bcel-builder/build.xml
@@ -22,7 +22,11 @@
<target name="init"/>
<target name="compile" depends="init">
- <srccompile project="bcel-builder" path="bcel-builder.src.path"/>
+ <mkdir dir="bin"/>
+ <javac destdir="bin" classpathref="bcel-builder.src.path" debug="true" source="1.7" target="1.7" includeantruntime="false" encoding="ISO-8859-1">
+ <src path="src"/>
+ <src path="verifier-src"/>
+ </javac>
</target>
<target name="test:compile" depends="compile">
@@ -66,7 +70,7 @@
<delete file="bcel-verifier-src.zip"/>
</target>
- <target name="buildTheJars">
+ <target name="buildTheJars" depends="compile">
<zip file="bcel.jar" basedir="bin" includes="**/*" excludes="**/tests/*,**/verifier/**/*,**/tests"/>
<zip file="bcel-verifier.jar" basedir="bin" includes="**/verifier/**/*" excludes="**/tests,**/tests/*"/>
<zip file="bcel-src.zip" basedir="src" includes="**/*" excludes="**/tests/*.java,**/verifier/**/*"/>
|