harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lian...@apache.org
Subject svn commit: r479938 - in /harmony/enhanced/classlib/trunk: make/ modules/archive/ modules/jndi/ modules/logging/ modules/luni/ modules/nio/ modules/nio_char/ modules/prefs/ modules/sql/ modules/text/ modules/tools/
Date Tue, 28 Nov 2006 08:06:01 GMT
Author: liangyx
Date: Tue Nov 28 00:06:00 2006
New Revision: 479938

URL: http://svn.apache.org/viewvc?view=rev&rev=479938
Log:
add a property build.compilerarg with default value -warn:none to control the behavior of
javac in ant scripts

Modified:
    harmony/enhanced/classlib/trunk/make/build-java.xml
    harmony/enhanced/classlib/trunk/make/properties.xml
    harmony/enhanced/classlib/trunk/modules/archive/build.xml
    harmony/enhanced/classlib/trunk/modules/jndi/build.xml
    harmony/enhanced/classlib/trunk/modules/logging/build.xml
    harmony/enhanced/classlib/trunk/modules/luni/build.xml
    harmony/enhanced/classlib/trunk/modules/nio/build.xml
    harmony/enhanced/classlib/trunk/modules/nio_char/build.xml
    harmony/enhanced/classlib/trunk/modules/prefs/build.xml
    harmony/enhanced/classlib/trunk/modules/sql/build.xml
    harmony/enhanced/classlib/trunk/modules/text/build.xml
    harmony/enhanced/classlib/trunk/modules/tools/build.xml

Modified: harmony/enhanced/classlib/trunk/make/build-java.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/make/build-java.xml?view=diff&rev=479938&r1=479937&r2=479938
==============================================================================
--- harmony/enhanced/classlib/trunk/make/build-java.xml (original)
+++ harmony/enhanced/classlib/trunk/make/build-java.xml Tue Nov 28 00:06:00 2006
@@ -125,7 +125,7 @@
                debug="${hy.javac.debug}"
                includeAntRuntime="no">
             
-            <compilerarg value="-warn:none" />
+            <compilerarg line="${build.compilerarg}" />
             
             <src path="modules/accessibility/src/main/java/" />
             <src path="modules/annotation/src/main/java/" />
@@ -163,6 +163,7 @@
             <src path="modules/swing/src/main/java/${hy.os}" />
             <src path="modules/swing/src/main/java/common" />
             <src path="modules/text/src/main/java" />
+            <src path="modules/tools/src/main/java" />
             <src path="modules/x-net/src/main/java/" />
 
             <classpath>

Modified: harmony/enhanced/classlib/trunk/make/properties.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/make/properties.xml?view=diff&rev=479938&r1=479937&r2=479938
==============================================================================
--- harmony/enhanced/classlib/trunk/make/properties.xml (original)
+++ harmony/enhanced/classlib/trunk/make/properties.xml Tue Nov 28 00:06:00 2006
@@ -157,6 +157,8 @@
     <property name="png.home" value="/usr" />
     <property name="lcms.home" value="/usr" />
     <property name="jpeg.home" value="/usr" />
+    
+    <property name="build.compilerarg" value="-warn:none" />
 
     <!-- default property for call-modules macro - i.e. all modules -->
     <property name="build.module" value="*" />

Modified: harmony/enhanced/classlib/trunk/modules/archive/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/archive/build.xml?view=diff&rev=479938&r1=479937&r2=479938
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/archive/build.xml (original)
+++ harmony/enhanced/classlib/trunk/modules/archive/build.xml Tue Nov 28 00:06:00 2006
@@ -137,6 +137,8 @@
                target="${hy.javac.target}"
                debug="${hy.javac.debug}">
 
+            <compilerarg line="${build.compilerarg}" />
+
             <bootclasspath>
                 <fileset dir="${hy.jdk}/jre/lib/boot">
                     <include name="**/*.jar" />
@@ -190,6 +192,8 @@
                source="${hy.javac.source}" 
                target="${hy.javac.target}"
                debug="${hy.javac.debug}">
+
+            <compilerarg line="${build.compilerarg}" />
 
             <bootclasspath>
                 <fileset dir="${hy.jdk}/jre/lib/boot">

Modified: harmony/enhanced/classlib/trunk/modules/jndi/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/build.xml?view=diff&rev=479938&r1=479937&r2=479938
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/build.xml (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/build.xml Tue Nov 28 00:06:00 2006
@@ -76,6 +76,8 @@
                target="${hy.javac.target}"
                debug="${hy.javac.debug}">
 
+            <compilerarg line="${build.compilerarg}" />
+            
             <bootclasspath>
                 <fileset dir="${hy.jdk}/jre/lib/boot">
                     <include name="**/*.jar" />
@@ -129,6 +131,8 @@
                source="${hy.javac.source}" 
                target="${hy.javac.target}"
                debug="${hy.javac.debug}">
+
+            <compilerarg line="${build.compilerarg}" />
 
             <bootclasspath>
                 <fileset dir="${hy.jdk}/jre/lib/boot">

Modified: harmony/enhanced/classlib/trunk/modules/logging/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/logging/build.xml?view=diff&rev=479938&r1=479937&r2=479938
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/logging/build.xml (original)
+++ harmony/enhanced/classlib/trunk/modules/logging/build.xml Tue Nov 28 00:06:00 2006
@@ -76,6 +76,8 @@
                target="${hy.javac.target}"
                debug="${hy.javac.debug}">
 
+            <compilerarg line="${build.compilerarg}" />
+
             <bootclasspath>
                 <fileset dir="${hy.jdk}/jre/lib/boot">
                     <include name="**/*.jar" />
@@ -122,6 +124,8 @@
                target="${hy.javac.target}"
                debug="${hy.javac.debug}">
 
+            <compilerarg line="${build.compilerarg}" />
+
             <bootclasspath>
                 <fileset dir="${hy.jdk}/jre/lib/boot">
                     <include name="**/*.jar" />
@@ -138,6 +142,8 @@
                source="${hy.javac.source}" 
                target="${hy.javac.target}"
                debug="${hy.javac.debug}">
+
+            <compilerarg line="${build.compilerarg}" />
 
             <bootclasspath>
                 <fileset dir="${hy.jdk}/jre/lib/boot">

Modified: harmony/enhanced/classlib/trunk/modules/luni/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/build.xml?view=diff&rev=479938&r1=479937&r2=479938
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/build.xml (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/build.xml Tue Nov 28 00:06:00 2006
@@ -224,6 +224,8 @@
                target="${hy.javac.target}"
                debug="${hy.javac.debug}">
 
+            <compilerarg line="${build.compilerarg}" />
+
             <bootclasspath>
                 <fileset dir="${hy.jdk}/jre/lib/boot">
                     <include name="**/*.jar" />
@@ -339,6 +341,8 @@
                source="${hy.javac.source}" 
                target="${hy.javac.target}"
                debug="${hy.javac.debug}">
+
+                <compilerarg line="${build.compilerarg}" />
 
                 <javac-elements />
 

Modified: harmony/enhanced/classlib/trunk/modules/nio/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio/build.xml?view=diff&rev=479938&r1=479937&r2=479938
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio/build.xml (original)
+++ harmony/enhanced/classlib/trunk/modules/nio/build.xml Tue Nov 28 00:06:00 2006
@@ -104,6 +104,8 @@
             target="${hy.javac.target}"
             debug="${hy.javac.debug}">
 
+            <compilerarg line="${build.compilerarg}" />
+
             <bootclasspath>
                 <fileset dir="${hy.jdk}/jre/lib/boot">
                     <include name="**/*.jar" />
@@ -156,6 +158,8 @@
                source="${hy.javac.source}" 
                target="${hy.javac.target}"
                debug="${hy.javac.debug}">
+
+            <compilerarg line="${build.compilerarg}" />
 
                     <src>
                         <pathelement location="${hy.nio.src.test.java}"/>

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/build.xml?view=diff&rev=479938&r1=479937&r2=479938
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/build.xml (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/build.xml Tue Nov 28 00:06:00 2006
@@ -80,6 +80,8 @@
                target="${hy.javac.target}"
                debug="${hy.javac.debug}">
 
+            <compilerarg line="${build.compilerarg}" />
+
             <bootclasspath>
                 <fileset dir="${hy.jdk}/jre/lib/boot">
                     <include name="**/*.jar" />
@@ -133,6 +135,8 @@
                source="${hy.javac.source}" 
                target="${hy.javac.target}"
                debug="${hy.javac.debug}">
+
+            <compilerarg line="${build.compilerarg}" />
 
             <bootclasspath>
                 <fileset dir="${hy.jdk}/jre/lib/boot">

Modified: harmony/enhanced/classlib/trunk/modules/prefs/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/prefs/build.xml?view=diff&rev=479938&r1=479937&r2=479938
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/prefs/build.xml (original)
+++ harmony/enhanced/classlib/trunk/modules/prefs/build.xml Tue Nov 28 00:06:00 2006
@@ -100,6 +100,8 @@
                target="${hy.javac.target}"
                debug="${hy.javac.debug}">
 
+            <compilerarg line="${build.compilerarg}" />
+
             <bootclasspath>
                 <fileset dir="${hy.jdk}/jre/lib/boot">
                     <include name="**/*.jar" />
@@ -153,6 +155,8 @@
                source="${hy.javac.source}" 
                target="${hy.javac.target}"
                debug="${hy.javac.debug}">
+
+            <compilerarg line="${build.compilerarg}" />
 
             <bootclasspath>
                 <fileset dir="${hy.jdk}/jre/lib/boot">

Modified: harmony/enhanced/classlib/trunk/modules/sql/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/sql/build.xml?view=diff&rev=479938&r1=479937&r2=479938
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/sql/build.xml (original)
+++ harmony/enhanced/classlib/trunk/modules/sql/build.xml Tue Nov 28 00:06:00 2006
@@ -74,6 +74,8 @@
                target="${hy.javac.target}"
                debug="${hy.javac.debug}">
 
+            <compilerarg line="${build.compilerarg}" />
+
             <bootclasspath>
                 <fileset dir="${hy.jdk}/jre/lib/boot">
                     <include name="**/*.jar" />
@@ -127,6 +129,8 @@
                source="${hy.javac.source}" 
                target="${hy.javac.target}"
                debug="${hy.javac.debug}">
+
+            <compilerarg line="${build.compilerarg}" />
 
             <bootclasspath>
                 <fileset dir="${hy.jdk}/jre/lib/boot">

Modified: harmony/enhanced/classlib/trunk/modules/text/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/text/build.xml?view=diff&rev=479938&r1=479937&r2=479938
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/text/build.xml (original)
+++ harmony/enhanced/classlib/trunk/modules/text/build.xml Tue Nov 28 00:06:00 2006
@@ -113,6 +113,8 @@
                target="${hy.javac.target}"
                debug="${hy.javac.debug}">
 
+            <compilerarg line="${build.compilerarg}" />
+
             <bootclasspath>
                 <fileset dir="${hy.jdk}/jre/lib/boot">
                     <include name="**/*.jar" />
@@ -166,6 +168,8 @@
                source="${hy.javac.source}" 
                target="${hy.javac.target}"
                debug="${hy.javac.debug}">
+
+            <compilerarg line="${build.compilerarg}" />
 
             <bootclasspath>
                 <fileset dir="${hy.jdk}/jre/lib/boot">

Modified: harmony/enhanced/classlib/trunk/modules/tools/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/tools/build.xml?view=diff&rev=479938&r1=479937&r2=479938
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/tools/build.xml (original)
+++ harmony/enhanced/classlib/trunk/modules/tools/build.xml Tue Nov 28 00:06:00 2006
@@ -77,6 +77,8 @@
                target="${hy.javac.target}"
                debug="${hy.javac.debug}">
 
+            <compilerarg line="${build.compilerarg}" />
+            
             <bootclasspath>
                 <fileset dir="${hy.jdk}/jre/lib/boot">
                     <include name="**/*.jar" />
@@ -135,6 +137,8 @@
                source="${hy.javac.source}" 
                target="${hy.javac.target}"
                debug="${hy.javac.debug}">
+
+            <compilerarg line="${build.compilerarg}" />
 
             <bootclasspath>
                 <fileset dir="${hy.jdk}/jre/lib/boot">



Mime
View raw message