harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r805302 - /harmony/enhanced/tools/trunk/minijre/build.xml
Date Tue, 18 Aug 2009 07:45:45 GMT
Author: hindessm
Date: Tue Aug 18 07:45:45 2009
New Revision: 805302

URL: http://svn.apache.org/viewvc?rev=805302&view=rev
Log:
If you set target on javac it is probably sensible to set source too.

Modified:
    harmony/enhanced/tools/trunk/minijre/build.xml

Modified: harmony/enhanced/tools/trunk/minijre/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/tools/trunk/minijre/build.xml?rev=805302&r1=805301&r2=805302&view=diff
==============================================================================
--- harmony/enhanced/tools/trunk/minijre/build.xml (original)
+++ harmony/enhanced/tools/trunk/minijre/build.xml Tue Aug 18 07:45:45 2009
@@ -96,7 +96,8 @@
 
     <target name="compile-java" depends="init">
         <mkdir dir="${build.dir}"/>
-        <javac srcdir="${src.dir}" destdir="${build.dir}" target="1.5">
+        <javac srcdir="${src.dir}" destdir="${build.dir}"
+               source="1.5" target="1.5">
             <classpath refid="classpath"/>
         </javac>
         <mkdir dir="${build.dir}/org/crazynut/harmony/minjre/conf" />
@@ -116,7 +117,7 @@
         <delete dir="${target.dir}" />
         <mkdir dir="${target.dir}" />
         <javac srcdir="${test.dir}/hello" destdir="${test.dir}/hello"
-               target="1.5" />
+               source="1.5" target="1.5" />
         <java classname="org.crazynut.harmony.minjre.bin.AnalyzeDependency">
             <classpath refid="classpath"/>
             <arg line="-jrelib=${origin.dir}/lib" />
@@ -159,7 +160,7 @@
         <delete dir="${target.dir}" />
         <mkdir dir="${target.dir}" />
         <javac srcdir="${test.dir}/hello" destdir="${test.dir}/hello"
-               target="1.5" />
+               source="1.5" target="1.5" />
         <analyze jrelib="${origin.dir}/lib" aim="${cns.dir}/static.cns">
             <classpath>
                 <pathelement location="${test.dir}/hello"/>



Mime
View raw message