File bcel-java14compat.patch of Package bcel
diff -Naur ../bcel-5.1.orig/build.xml ./build.xml
--- ../bcel-5.1.orig/build.xml 2003-04-25 10:06:15.000000000 +0200
+++ ./build.xml 2006-09-25 14:11:10.000000000 +0200
@@ -58,7 +58,7 @@
<!-- Compile the sources -->
<target name="compile" depends="init">
<mkdir dir="${build.dest}"/>
- <javac srcdir="${src.dir}" destdir="${build.dest}" classpath="${class.path}" debug="true"/>
+ <javac srcdir="${src.dir}" destdir="${build.dest}" classpath="${class.path}" debug="true" source="1.4" target="1.4"/>
</target>
<!-- Just an alias -->
@@ -75,7 +75,7 @@
<!-- Compile the examples -->
<target name="examples" depends="compile">
- <javac srcdir="${examples.dir}" destdir="${build.dest}" classpath="${class.path}" />
+ <javac srcdir="${examples.dir}" destdir="${build.dest}" classpath="${class.path}" source="1.4" target="1.4" />
</target>
<!-- Creates the API documentation -->