apache-commons-dbcp/jakarta-commons-dbcp-target15.patch

28 lines
902 B
Diff

--- build.xml
+++ build.xml
@@ -142,7 +142,7 @@
<target name="compile" depends="prepare" description="compiles source files">
<mkdir dir="${build.classes.dir}"/>
- <javac destdir="${build.classes.dir}"
+ <javac target="1.5" destdir="${build.classes.dir}"
srcdir="${src.java.dir}"
classpath="${classpath}"
debug="${javac.debug}"
@@ -160,7 +160,7 @@
<target name="compile-test" depends="compile">
<mkdir dir="${build.test-classes.dir}"/>
- <javac destdir="${build.test-classes.dir}"
+ <javac target="1.5" destdir="${build.test-classes.dir}"
srcdir="${src.test.dir}"
debug="${javac.debug}"
deprecation="${javac.deprecation}"
@@ -211,4 +211,4 @@
<target name="dist" depends="build" description="gump target"/>
-</project>
\ No newline at end of file
+</project>