commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject svn commit: r494275 - /jakarta/commons/proper/transaction/trunk/build.xml
Date Tue, 09 Jan 2007 00:20:34 GMT
Author: joerg
Date: Mon Jan  8 16:20:33 2007
New Revision: 494275

URL: http://svn.apache.org/viewvc?view=rev&rev=494275
Log:
follow hint of Ant:
[javac] The -source switch defaults to 1.5 in JDK 1.5 and 1.6.
[javac] If you specify -target 1.3 you now must also specify -source 1.3.
[javac] Ant will implicitly add -source 1.3 for you.  Please change your build file.

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

Modified: jakarta/commons/proper/transaction/trunk/build.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/transaction/trunk/build.xml?view=diff&rev=494275&r1=494274&r2=494275
==============================================================================
--- jakarta/commons/proper/transaction/trunk/build.xml (original)
+++ jakarta/commons/proper/transaction/trunk/build.xml Mon Jan  8 16:20:33 2007
@@ -30,6 +30,7 @@
 
   <property file="${basedir}/build.properties"/>
 
+  <property name="compile.source" value="1.3" />
   <property name="compile.target" value="1.3" />
   <property name="compile.debug" value="true" />
   <property name="compile.deprecation" value="true" />
@@ -183,6 +184,7 @@
 
   <target name="build" depends="prepare,detect" description="Compiles the main classes">
     <javac destdir="${build.classes}"
+      source="${compile.source}"
       target="${compile.target}"
       debug="${compile.debug}"
       deprecation="${compile.deprecation}"
@@ -194,6 +196,7 @@
   
   <target name="build-test" depends="detect,build">
     <javac destdir="${build.classes}"
+      source="${compile.source}"
       target="${compile.target}"
       debug="${compile.debug}"
       deprecation="${compile.deprecation}"
@@ -205,6 +208,7 @@
   
   <target name="build-jca" depends="build" if="java1.4.present">
     <javac destdir="${build.classes}"
+      source="${compile.source}"
       target="${compile.target}"
       debug="${compile.debug}"
       deprecation="${compile.deprecation}"
@@ -216,6 +220,7 @@
   
   <target name="build-map-example" depends="build-jca" if="java1.4.present">
     <javac destdir="${build.classes}"
+      source="${compile.source}"
       target="${compile.target}"
       debug="${compile.debug}"
       deprecation="${compile.deprecation}"



---------------------------------------------------------------------
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