BefatorNix/java/commons-logging.patch
2025-09-17 23:24:29 +02:00

35 lines
1.3 KiB
Diff

diff --git a/build.xml b/build.xml
index 2c5334b..22070c4 100644
--- a/build.xml
+++ b/build.xml
@@ -162,7 +162,8 @@
destdir="${build.home}/classes"
debug="${compile.debug}"
deprecation="${compile.deprecation}"
- optimize="${compile.optimize}">
+ optimize="${compile.optimize}"
+ target="1.4">
<classpath refid="compile.classpath"/>
<exclude name="org/apache/commons/logging/impl/Jdk14Logger.java"
unless="jdk.1.4.present"/>
@@ -197,7 +198,8 @@
destdir="${build.home}/tests"
debug="${compile.debug}"
deprecation="${compile.deprecation}"
- optimize="${compile.optimize}">
+ optimize="${compile.optimize}"
+ target="1.4">
<classpath refid="test.classpath"/>
</javac>
<copy todir="${build.home}/tests" filtering="on">
@@ -230,7 +232,8 @@
version="true"
doctitle="&lt;h1&gt;${component.title} (Version ${component.version})&lt;/h1&gt;"
windowtitle="${component.title} (Version ${component.version})"
- bottom="Copyright (c) 2002 - Apache Software Foundation">
+ bottom="Copyright (c) 2002 - Apache Software Foundation"
+ source="1.4">
<classpath refid="test.classpath"/>
</javadoc>
</target>