commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From skitch...@apache.org
Subject svn commit: r179511 - /jakarta/commons/proper/logging/trunk/build.xml
Date Thu, 02 Jun 2005 05:05:19 GMT
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message