Ensure class files generated are compatible with 1.1 JVMs
(although we only support 1.2+ at the moment). git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@179511 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
10
build.xml
10
build.xml
@@ -89,6 +89,11 @@
|
||||
|
||||
<!-- ========== Compiler Defaults ========================================= -->
|
||||
|
||||
<!-- Version of java class files to generate. -->
|
||||
<property name="target.version" value="1.1"/>
|
||||
|
||||
<!-- Version of java source to accept -->
|
||||
<property name="source.version" value="1.2"/>
|
||||
|
||||
<!-- Should Java compilations set the 'debug' compiler option? -->
|
||||
<property name="compile.debug" value="true"/>
|
||||
@@ -263,7 +268,10 @@
|
||||
destdir="${build.home}/classes"
|
||||
debug="${compile.debug}"
|
||||
deprecation="${compile.deprecation}"
|
||||
optimize="${compile.optimize}">
|
||||
optimize="${compile.optimize}"
|
||||
source="${source.version}"
|
||||
target="${target.version}">
|
||||
|
||||
<classpath refid="compile.classpath"/>
|
||||
<exclude name="org/apache/commons/logging/impl/Jdk13LumberjackLogger.java"
|
||||
unless="jdk.1.4.present"/>
|
||||
|
||||
Reference in New Issue
Block a user