Author: skitching
Date: Wed Jun  1 22:05:18 2005
New Revision: 179511

URL: http://svn.apache.org/viewcvs?rev=179511&view=rev
Log:
Ensure class files generated are compatible with 1.1 JVMs
(although we only support 1.2+ at the moment).

Modified:
    jakarta/commons/proper/logging/trunk/build.xml

Modified: jakarta/commons/proper/logging/trunk/build.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/logging/trunk/build.xml?rev=179511&r1=179510&r2=179511&view=diff
==============================================================================
--- jakarta/commons/proper/logging/trunk/build.xml (original)
+++ jakarta/commons/proper/logging/trunk/build.xml Wed Jun  1 22:05:18 2005
@@ -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"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to