harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r937088 [2/2] - in /harmony/enhanced/java/branches/mrh/classlib: ./ modules/accessibility/ modules/annotation/ modules/applet/ modules/archive/ modules/auth/ modules/awt/ modules/beans/ modules/concurrent/ modules/crypto/ modules/imageio/ m...
Date Thu, 22 Apr 2010 22:33:47 GMT
Modified: harmony/enhanced/java/branches/mrh/classlib/modules/prefs/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/mrh/classlib/modules/prefs/build.xml?rev=937088&r1=937087&r2=937088&view=diff
==============================================================================
--- harmony/enhanced/java/branches/mrh/classlib/modules/prefs/build.xml (original)
+++ harmony/enhanced/java/branches/mrh/classlib/modules/prefs/build.xml Thu Apr 22 22:33:46
2010
@@ -44,15 +44,16 @@
     </target>
 
     <!-- internal target for local and global test run sequence -->
-    <target name="-test-module" depends="build, -run-tests" />
+    <target name="-test-module" depends="build,-run-tests" />
 
     <!-- Build natives. Currently there are only windows natives for
      prefs, so we check if we are on a windows platform -->
-    <target name="-build-native" if="is.windows">
+    <target name="-build-native" if="is.windows" unless="skip.native.build">
         <make dir="src/main/native/prefs/${hy.os.family}" />
     </target>
 
-    <target name="-clean-java" depends="-class-patternset">
+    <target name="-clean-java" unless="skip.java.build"
+            depends="-class-patternset">
         <delete file="${hy.jdk}/jre/lib/boot/prefs.jar" />
         <delete file="${hy.jdk}/jre/lib/boot/prefs-src.jar" />
         <delete failonerror="false">
@@ -63,16 +64,16 @@
 
     <!-- Clean natives. Currently there are only windows natives for
          prefs, so we check if we are on a windows platform -->
-    <target name="-clean-native" if="is.windows">
+    <target name="-clean-native" if="is.windows" unless="skip.native.build">
         <make dir="src/main/native/prefs/${hy.os.family}" target="clean" />
     </target>
 
-    <target name="-clean-test">
+    <target name="-clean-test" unless="skip.test.build">
         <delete dir="${tests.hdk.dir}" failonerror="false" />
         <delete failonerror="false" dir="bin"/>
     </target>
 
-    <target name="-compile-java">
+    <target name="-compile-java" unless="skip.java.build">
         <echo message="Compiling ${hy.module} classes" />
 
         <mkdir dir="../../build/classes" />
@@ -98,7 +99,8 @@
             outputFile="${findBugs.report}/prefs.xml"/>
     </target>
 
-    <target name="-build-jar" depends="svn-info,-compile-java,-class-patternset">
+    <target name="-build-jar" unless="skip.java.build"
+            depends="svn-info,-compile-java,-class-patternset">
         <hy.jar.bin destfile="${hy.jdk}/jre/lib/boot/prefs.jar"
                     manifest="META-INF/MANIFEST.MF">
             <fileset refid="classes" />
@@ -110,7 +112,8 @@
         </hy.jar.src>
     </target>
 
-    <target name="-test-jar" depends="svn-info,-compile-tests">
+    <target name="-test-jar" unless="skip.test.build"
+            depends="svn-info,-compile-tests">
         <mkdir dir="${tests.hdk.dir}" />
 
         <copy file="make/run-test.xml" tofile="${tests.hdk.dir}/build.xml" />
@@ -134,7 +137,7 @@
         </copy>
     </target>
 
-    <target name="-compile-tests">
+    <target name="-compile-tests" unless="skip.test.build">
         <compile-tests description="prefs tests">
             <javac-elements>
                 <src>
@@ -148,7 +151,7 @@
         <ant dir="${tests.hdk.dir}" target="test-module" />
     </target>
 
-    <target name="-class-patternset">
+    <target name="-class-patternset" unless="skip.java.build">
         <make-patternset module="${hy.module}" />
     </target>
 

Modified: harmony/enhanced/java/branches/mrh/classlib/modules/print/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/mrh/classlib/modules/print/build.xml?rev=937088&r1=937087&r2=937088&view=diff
==============================================================================
--- harmony/enhanced/java/branches/mrh/classlib/modules/print/build.xml (original)
+++ harmony/enhanced/java/branches/mrh/classlib/modules/print/build.xml Thu Apr 22 22:33:46
2010
@@ -42,9 +42,10 @@
     </target>
 
     <!-- internal target for local and global test run sequence -->
-    <target name="-test-module" depends="build, -run-tests" />
+    <target name="-test-module" depends="build,-run-tests" />
 
-    <target name="-clean-java" depends="-class-patternset">
+    <target name="-clean-java" unless="skip.java.build"
+            depends="-class-patternset">
         <delete file="${hy.jdk}/jre/lib/boot/print.jar" />
         <delete file="${hy.jdk}/jre/lib/boot/print-src.jar" />
         <delete failonerror="false">
@@ -53,16 +54,16 @@
         <delete-patternset module="${hy.module}" />
     </target>
 
-    <target name="-clean-native" if="is.windows">
+    <target name="-clean-native" if="is.windows" unless="skip.native.build">
         <make dir="src/main/native/print/${hy.os.family}" target="clean" />
     </target>
 
-    <target name="-clean-test">
+    <target name="-clean-test" unless="skip.test.build">
         <delete dir="${tests.hdk.dir}" failonerror="false" />
         <delete failonerror="false" dir="bin"/>
     </target>
 
-    <target name="-compile-java">
+    <target name="-compile-java" unless="skip.java.build">
         <echo message="Compiling ${hy.module} classes" />
 
         <mkdir dir="../../build/classes" />
@@ -81,7 +82,7 @@
         </hy.javac>
     </target>
     
-    <target name="-build-native" if="is.windows">
+    <target name="-build-native" if="is.windows" unless="skip.native.build">
         <make dir="src/main/native/print/${hy.os.family}" />
     </target>
 
@@ -92,7 +93,8 @@
             outputFile="${findBugs.report}/print.xml"/>
     </target>
 
-    <target name="-build-jar" depends="svn-info,-compile-java,-class-patternset">
+    <target name="-build-jar" unless="skip.java.build"
+            depends="svn-info,-compile-java,-class-patternset">
         <hy.jar.bin destfile="${hy.jdk}/jre/lib/boot/print.jar"
                     manifest="META-INF/MANIFEST.MF">
             <metainf prefix="META-INF/services"
@@ -121,7 +123,8 @@
         </hy.jar.src>
     </target>
 
-    <target name="-test-jar" depends="svn-info,-compile-tests">
+    <target name="-test-jar" unless="skip.test.build"
+            depends="svn-info,-compile-tests">
         <mkdir dir="${tests.hdk.dir}" />
         
         <copy file="make/run-test.xml" tofile="${tests.hdk.dir}/build.xml" />
@@ -141,7 +144,7 @@
         </copy>
     </target>
 
-    <target name="-compile-tests">
+    <target name="-compile-tests" unless="skip.test.build">
         <compile-tests description="print tests">
             <javac-elements>
                 <src>
@@ -155,7 +158,7 @@
         <ant dir="${tests.hdk.dir}" target="test-module" />
     </target>
 
-    <target name="-class-patternset">
+    <target name="-class-patternset" unless="skip.java.build">
         <make-patternset module="${hy.module}" />
     </target>
 

Modified: harmony/enhanced/java/branches/mrh/classlib/modules/regex/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/mrh/classlib/modules/regex/build.xml?rev=937088&r1=937087&r2=937088&view=diff
==============================================================================
--- harmony/enhanced/java/branches/mrh/classlib/modules/regex/build.xml (original)
+++ harmony/enhanced/java/branches/mrh/classlib/modules/regex/build.xml Thu Apr 22 22:33:46
2010
@@ -40,11 +40,12 @@
     </target>
 
     <!-- internal target for local and global test run sequence -->
-    <target name="-test-module" depends="build, -run-tests" />
+    <target name="-test-module" depends="build,-run-tests" />
 
     <target name="clean" depends="-clean-java,-clean-test" />
     
-    <target name="-clean-java" depends="-class-patternset">
+    <target name="-clean-java" unless="skip.java.build"
+            depends="-class-patternset">
         <delete file="${hy.jdk}/jre/lib/boot/regex.jar" />
         <delete file="${hy.jdk}/jre/lib/boot/regex-src.jar" />
         <delete failonerror="false">
@@ -53,12 +54,12 @@
         <delete-patternset module="${hy.module}" />
     </target>
 
-    <target name="-clean-test">
+    <target name="-clean-test" unless="skip.test.build">
         <delete dir="${tests.hdk.dir}" failonerror="false" />
         <delete failonerror="false" dir="bin"/>
     </target>
 
-    <target name="-compile-java">
+    <target name="-compile-java" unless="skip.java.build">
         <echo message="Compiling ${hy.module} classes" />
 
         <mkdir dir="../../build/classes" />
@@ -84,7 +85,8 @@
             outputFile="${findBugs.report}/regex.xml"/>
     </target>
 
-    <target name="-build-jar" depends="svn-info,-compile-java,-class-patternset">
+    <target name="-build-jar" unless="skip.java.build"
+            depends="svn-info,-compile-java,-class-patternset">
         <hy.jar.bin destfile="${hy.jdk}/jre/lib/boot/regex.jar"
                     manifest="META-INF/MANIFEST.MF">
             <fileset refid="classes" />
@@ -96,7 +98,8 @@
         </hy.jar.src>
     </target>
 
-    <target name="-test-jar" depends="svn-info,-compile-tests">
+    <target name="-test-jar" unless="skip.test.build"
+            depends="svn-info,-compile-tests">
         <mkdir dir="${tests.hdk.dir}" />
         
         <copy file="make/run-test.xml" tofile="${tests.hdk.dir}/build.xml" />
@@ -120,7 +123,7 @@
         </copy>
     </target>
 
-    <target name="-compile-tests">
+    <target name="-compile-tests" unless="skip.test.build">
         <compile-tests description="regex tests">
             <javac-elements>
                 <src>
@@ -134,7 +137,7 @@
         <ant dir="${tests.hdk.dir}" target="test-module" />
     </target>
 
-    <target name="-class-patternset">
+    <target name="-class-patternset" unless="skip.java.build">
         <make-patternset module="${hy.module}" />
     </target>
 

Modified: harmony/enhanced/java/branches/mrh/classlib/modules/rmi/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/mrh/classlib/modules/rmi/build.xml?rev=937088&r1=937087&r2=937088&view=diff
==============================================================================
--- harmony/enhanced/java/branches/mrh/classlib/modules/rmi/build.xml (original)
+++ harmony/enhanced/java/branches/mrh/classlib/modules/rmi/build.xml Thu Apr 22 22:33:46
2010
@@ -40,11 +40,12 @@
     </target>
 
     <!-- internal target for local and global test run sequence -->
-    <target name="-test-module" depends="build, -run-tests" />
+    <target name="-test-module" depends="build,-run-tests" />
 
     <target name="clean" depends="-clean-java,-clean-test" />
     
-    <target name="-clean-java" depends="-class-patternset">
+    <target name="-clean-java" unless="skip.java.build"
+            depends="-class-patternset">
         <delete file="${hy.jdk}/jre/lib/boot/rmi.jar" />
         <delete file="${hy.jdk}/jre/lib/boot/rmi-src.jar" />
         <delete failonerror="false">
@@ -53,12 +54,12 @@
         <delete-patternset module="${hy.module}" />
     </target>
 
-    <target name="-clean-test">
+    <target name="-clean-test" unless="skip.test.build">
         <delete dir="${tests.hdk.dir}" failonerror="false" />
         <delete failonerror="false" dir="bin"/>
     </target>
 
-    <target name="-compile-java">
+    <target name="-compile-java" unless="skip.java.build">
         <echo message="Compiling ${hy.module} classes" />
 
         <mkdir dir="../../build/classes" />
@@ -84,7 +85,8 @@
             outputFile="${findBugs.report}/rmi.xml"/>
     </target>
 
-    <target name="-build-jar" depends="svn-info,-compile-java,-class-patternset">
+    <target name="-build-jar" unless="skip.java.build"
+            depends="svn-info,-compile-java,-class-patternset">
         <hy.jar.bin destfile="${hy.jdk}/jre/lib/boot/rmi.jar"
                     manifest="META-INF/MANIFEST.MF">
             <fileset refid="classes" />
@@ -96,7 +98,8 @@
         </hy.jar.src>
     </target>
 
-    <target name="-test-jar" depends="svn-info,-compile-tests">
+    <target name="-test-jar" unless="skip.test.build"
+            depends="svn-info,-compile-tests">
         <mkdir dir="${tests.hdk.dir}" />
          
         <copy file="make/run-test.xml" tofile="${tests.hdk.dir}/build.xml" />
@@ -121,7 +124,7 @@
         <copy file="make/all.policy" todir="${tests.resources.hdk.dir}" />
     </target>
 
-    <target name="-compile-tests">
+    <target name="-compile-tests" unless="skip.test.build">
         <compile-tests description="rmi api tests" destdir="bin/test/api">
             <javac-elements>
                 <src>
@@ -137,7 +140,7 @@
         <ant dir="${tests.hdk.dir}" target="test-module" />
     </target>
 
-    <target name="-class-patternset">
+    <target name="-class-patternset" unless="skip.java.build">
         <make-patternset module="${hy.module}" />
     </target>
 

Modified: harmony/enhanced/java/branches/mrh/classlib/modules/security-kernel/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/mrh/classlib/modules/security-kernel/build.xml?rev=937088&r1=937087&r2=937088&view=diff
==============================================================================
--- harmony/enhanced/java/branches/mrh/classlib/modules/security-kernel/build.xml (original)
+++ harmony/enhanced/java/branches/mrh/classlib/modules/security-kernel/build.xml Thu Apr
22 22:33:46 2010
@@ -37,7 +37,8 @@ the top-level build.
         </fail>
     </target>
 
-    <target name="build" depends="svn-info,-class-patternset">
+    <target name="build" unless="skip.java.build"
+            depends="svn-info,-class-patternset">
         <hy.jar.bin destfile="${stub.jar}" manifest="META-INF/MANIFEST.MF">
             <fileset refid="classes" />
         </hy.jar.bin>
@@ -45,7 +46,8 @@ the top-level build.
 
     <target name="clean" depends="-clean-java" />
 
-    <target name="-clean-java" depends="-class-patternset">
+    <target name="-clean-java" unless="skip.java.build"
+            depends="-class-patternset">
         <delete file="${stub.jar}" />
         <delete failonerror="false">
             <fileset refid="classes" />
@@ -53,7 +55,7 @@ the top-level build.
         <delete-patternset module="${hy.module}" />
     </target>
 
-    <target name="-class-patternset">
+    <target name="-class-patternset" unless="skip.java.build">
         <make-patternset module="${hy.module}" />
     </target>
 

Modified: harmony/enhanced/java/branches/mrh/classlib/modules/security/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/mrh/classlib/modules/security/build.xml?rev=937088&r1=937087&r2=937088&view=diff
==============================================================================
--- harmony/enhanced/java/branches/mrh/classlib/modules/security/build.xml (original)
+++ harmony/enhanced/java/branches/mrh/classlib/modules/security/build.xml Thu Apr 22 22:33:46
2010
@@ -42,13 +42,14 @@
     </target>
 
     <!-- internal target for local and global test run sequence -->
-    <target name="-test-module" depends="build, -run-tests" />
+    <target name="-test-module" depends="build,-run-tests" />
 
-    <target name="-build-native">
+    <target name="-build-native" unless="skip.native.build">
         <make dir="src/main/native/security/${hy.os.family}" />
     </target>
     
-    <target name="-clean-java" depends="-class-patternset">
+    <target name="-clean-java" unless="skip.java.build"
+            depends="-class-patternset">
         <delete file="${hy.jdk}/jre/lib/boot/security.jar" />
         <delete file="${hy.jdk}/jre/lib/boot/security-src.jar" />
         <delete failonerror="false">
@@ -57,16 +58,16 @@
         <delete-patternset module="${hy.module}" />
     </target>
 
-    <target name="-clean-native">
+    <target name="-clean-native" unless="skip.native.build">
         <make dir="src/main/native/security/${hy.os.family}" target="clean" />
     </target>
 
-    <target name="-clean-test">
+    <target name="-clean-test" unless="skip.test.build">
         <delete dir="${tests.hdk.dir}" failonerror="false" />
         <delete failonerror="false" dir="bin"/>
     </target>
 
-    <target name="-compile-java">
+    <target name="-compile-java" unless="skip.java.build">
         <echo message="Compiling ${hy.module} classes" />
 
         <mkdir dir="../../build/classes" />
@@ -96,7 +97,8 @@
             outputFile="${findBugs.report}/security.xml"/>
     </target>
 
-    <target name="-build-jar" depends="svn-info,-compile-java,-class-patternset">
+    <target name="-build-jar" unless="skip.java.build"
+            depends="svn-info,-compile-java,-class-patternset">
         <hy.jar.bin destfile="${hy.jdk}/jre/lib/boot/security.jar"
                     manifest="META-INF/MANIFEST.MF">
             <fileset refid="classes" />
@@ -109,7 +111,8 @@
         </hy.jar.src>
     </target>
 
-    <target name="-test-jar" depends="svn-info, -compile-tests">
+    <target name="-test-jar" unless="skip.test.build"
+            depends="svn-info, -compile-tests">
 	<mkdir dir="${tests.hdk.dir}"/>
 
         <copy file="make/run-test.xml" tofile="${tests.hdk.dir}/build.xml" />
@@ -145,7 +148,7 @@
         </copy>
     </target>
 
-    <target name="-compile-tests">
+    <target name="-compile-tests" unless="skip.test.build">
 
         <compile-tests description="security test support files"
                        destdir="bin/test/support">
@@ -206,7 +209,7 @@
         <ant dir="${tests.hdk.dir}" target="test-module" />
     </target>
 
-    <target name="-class-patternset">
+    <target name="-class-patternset" unless="skip.java.build">
         <make-patternset module="${hy.module}" />
     </target>
 

Modified: harmony/enhanced/java/branches/mrh/classlib/modules/sound/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/mrh/classlib/modules/sound/build.xml?rev=937088&r1=937087&r2=937088&view=diff
==============================================================================
--- harmony/enhanced/java/branches/mrh/classlib/modules/sound/build.xml (original)
+++ harmony/enhanced/java/branches/mrh/classlib/modules/sound/build.xml Thu Apr 22 22:33:46
2010
@@ -40,11 +40,12 @@
     </target>
 
     <!-- internal target for local and global test run sequence -->
-    <target name="-test-module" depends="build, -run-tests" />
+    <target name="-test-module" depends="build,-run-tests" />
 
     <target name="clean" depends="-clean-java,-clean-test" />
     
-    <target name="-clean-java" depends="-class-patternset">
+    <target name="-clean-java" unless="skip.java.build"
+            depends="-class-patternset">
         <delete file="${hy.jdk}/jre/lib/boot/sound.jar" />
         <delete file="${hy.jdk}/jre/lib/boot/sound-src.jar" />
         <delete failonerror="false">
@@ -53,12 +54,12 @@
         <delete-patternset module="${hy.module}" />
     </target>
 
-    <target name="-clean-test">
+    <target name="-clean-test" unless="skip.test.build">
         <delete dir="${tests.hdk.dir}" failonerror="false" />
         <delete failonerror="false" dir="bin"/>
     </target>
 
-    <target name="-compile-java">
+    <target name="-compile-java" unless="skip.java.build">
         <echo message="Compiling ${hy.module} classes" />
 
         <mkdir dir="../../build/classes" />
@@ -84,7 +85,8 @@
             outputFile="${findBugs.report}/sound.xml"/>
     </target>
 
-    <target name="-build-jar" depends="svn-info,-compile-java,-class-patternset">
+    <target name="-build-jar" unless="skip.java.build"
+            depends="svn-info,-compile-java,-class-patternset">
         <hy.jar.bin destfile="${hy.jdk}/jre/lib/boot/sound.jar"
                     manifest="META-INF/MANIFEST.MF">
             <fileset refid="classes" />
@@ -96,7 +98,8 @@
         </hy.jar.src>
     </target>
 
-    <target name="-test-jar" depends="svn-info,-compile-tests">
+    <target name="-test-jar" unless="skip.test.build"
+            depends="svn-info,-compile-tests">
         <mkdir dir="${tests.hdk.dir}" />
 
         <copy file="make/run-test.xml" tofile="${tests.hdk.dir}/build.xml" />
@@ -116,13 +119,14 @@
         </copy>
     </target>
 
-    <target name="-copy-test-resources">
+    <target name="-copy-test-resources" unless="skip.test.build">
         <copy todir="${tests.resources.hdk.dir}" includeemptydirs="false">
             <fileset dir="src/test/resources" />
         </copy>
     </target>
 
-    <target name="-compile-tests" depends="-copy-test-resources">
+    <target name="-compile-tests" unless="skip.test.build"
+            depends="-copy-test-resources">
         <compile-tests description="sound tests">
             <javac-elements>
                 <classpath location="${tests.resources.hdk.dir}/org/apache/harmony/sound/tests/javax/sound/sampled/soundProvider.jar"
/>
@@ -137,7 +141,7 @@
         <ant dir="${tests.hdk.dir}" target="test-module" />
     </target>
 
-    <target name="-class-patternset">
+    <target name="-class-patternset" unless="skip.java.build">
         <make-patternset module="${hy.module}" />
     </target>
 

Modified: harmony/enhanced/java/branches/mrh/classlib/modules/sql/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/mrh/classlib/modules/sql/build.xml?rev=937088&r1=937087&r2=937088&view=diff
==============================================================================
--- harmony/enhanced/java/branches/mrh/classlib/modules/sql/build.xml (original)
+++ harmony/enhanced/java/branches/mrh/classlib/modules/sql/build.xml Thu Apr 22 22:33:46
2010
@@ -54,9 +54,10 @@
     </target>
 
     <!-- internal target for local and global test run sequence -->
-    <target name="-test-module" depends="build, -run-tests" />
+    <target name="-test-module" depends="build,-run-tests" />
 
-    <target name="-clean-java" depends="-class-patternset">
+    <target name="-clean-java" unless="skip.java.build"
+            depends="-class-patternset">
         <delete file="${hy.jdk}/jre/lib/boot/sql.jar" />
         <delete file="${hy.jdk}/jre/lib/boot/sql-src.jar" />
         <delete failonerror="false">
@@ -65,13 +66,13 @@
         <delete-patternset module="${hy.module}" />
     </target>
 
-    <target name="-clean-test">
+    <target name="-clean-test" unless="skip.test.build">
         <delete dir="${tests.hdk.dir}" failonerror="false" />
         <delete dir="${hy.hdk}/build/test/derby" /> 
         <delete failonerror="false" dir="bin"/>
     </target>
 
-    <target name="-compile-java">
+    <target name="-compile-java" unless="skip.java.build">
         <echo message="Compiling ${hy.module} classes" />
 
         <mkdir dir="../../build/classes" />
@@ -97,7 +98,8 @@
             outputFile="${findBugs.report}/sql.xml"/>
     </target>
 
-    <target name="-build-jar" depends="svn-info,-compile-java,-class-patternset">
+    <target name="-build-jar" unless="skip.java.build"
+            depends="svn-info,-compile-java,-class-patternset">
         <hy.jar.bin destfile="${hy.jdk}/jre/lib/boot/sql.jar"
                     manifest="META-INF/MANIFEST.MF">
             <fileset refid="classes" />
@@ -109,7 +111,8 @@
         </hy.jar.src>
     </target>
 
-    <target name="-test-jar" depends="svn-info,-compile-tests">
+    <target name="-test-jar" unless="skip.test.build"
+            depends="svn-info,-compile-tests">
         <mkdir dir="${tests.hdk.dir}" />
         
         <copy file="make/run-test.xml" tofile="${tests.hdk.dir}/build.xml" />
@@ -139,7 +142,7 @@
         </copy>
     </target>
 
-    <target name="-compile-tests">
+    <target name="-compile-tests" unless="skip.test.build">
         <compile-tests description="sql tests">
             <javac-elements>
                 <src>
@@ -153,7 +156,7 @@
         <ant dir="${tests.hdk.dir}" target="test-module" />
     </target>
 
-    <target name="-class-patternset">
+    <target name="-class-patternset" unless="skip.java.build">
         <make-patternset module="${hy.module}" />
     </target>
 

Modified: harmony/enhanced/java/branches/mrh/classlib/modules/suncompat/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/mrh/classlib/modules/suncompat/build.xml?rev=937088&r1=937087&r2=937088&view=diff
==============================================================================
--- harmony/enhanced/java/branches/mrh/classlib/modules/suncompat/build.xml (original)
+++ harmony/enhanced/java/branches/mrh/classlib/modules/suncompat/build.xml Thu Apr 22 22:33:46
2010
@@ -40,11 +40,12 @@
     </target>
 
     <!-- internal target for local and global test run sequence -->
-    <target name="-test-module" depends="build, -run-tests" />
+    <target name="-test-module" depends="build,-run-tests" />
 
     <target name="clean" depends="-clean-java,-clean-test" />
     
-    <target name="-clean-java" depends="-class-patternset">
+    <target name="-clean-java" unless="skip.java.build"
+            depends="-class-patternset">
         <delete file="${hy.jdk}/jre/lib/boot/suncompat.jar" />
         <delete file="${hy.jdk}/jre/lib/boot/suncompat-src.jar" />
         <delete failonerror="false">
@@ -53,12 +54,12 @@
         <delete-patternset module="${hy.module}" />
     </target>
 
-    <target name="-clean-test">
+    <target name="-clean-test" unless="skip.test.build">
         <delete dir="${tests.hdk.dir}" failonerror="false" />
         <delete failonerror="false" dir="bin"/>
     </target>
 
-    <target name="-compile-java">
+    <target name="-compile-java" unless="skip.java.build">
         <echo message="Compiling Sun Compat classes" />
 
         <mkdir dir="../../build/classes" />
@@ -84,7 +85,8 @@
             outputFile="${findBugs.report}/suncompat.xml"/>
     </target>
 
-    <target name="-build-jar" depends="svn-info,-compile-java,-class-patternset">
+    <target name="-build-jar" unless="skip.java.build"
+            depends="svn-info,-compile-java,-class-patternset">
         <hy.jar.bin destfile="${hy.jdk}/jre/lib/boot/suncompat.jar"
                     manifest="META-INF/MANIFEST.MF">
             <fileset refid="classes" />
@@ -96,7 +98,8 @@
         </hy.jar.src>
     </target>
 
-    <target name="-test-jar" depends="svn-info,-compile-tests">
+    <target name="-test-jar" unless="skip.test.build"
+            depends="svn-info,-compile-tests">
         <mkdir dir="${tests.hdk.dir}" />
 
         <copy file="make/run-test.xml" tofile="${tests.hdk.dir}/build.xml" />
@@ -116,7 +119,7 @@
         </copy>
     </target>
 
-    <target name="-compile-tests">
+    <target name="-compile-tests" unless="skip.test.build">
         <compile-tests description="suncompat tests">
             <javac-elements>
                 <src>
@@ -130,7 +133,7 @@
         <ant dir="${tests.hdk.dir}" target="test-module" />
     </target>
 
-    <target name="-class-patternset">
+    <target name="-class-patternset" unless="skip.java.build">
         <make-patternset module="${hy.module}" />
     </target>
 

Modified: harmony/enhanced/java/branches/mrh/classlib/modules/swing/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/mrh/classlib/modules/swing/build.xml?rev=937088&r1=937087&r2=937088&view=diff
==============================================================================
--- harmony/enhanced/java/branches/mrh/classlib/modules/swing/build.xml (original)
+++ harmony/enhanced/java/branches/mrh/classlib/modules/swing/build.xml Thu Apr 22 22:33:46
2010
@@ -50,9 +50,10 @@
     </target>
 
     <!-- internal target for local and global test run sequence -->
-    <target name="-test-module" depends="build, -run-tests" />
+    <target name="-test-module" depends="build,-run-tests" />
 
-    <target name="-clean-java" depends="-class-patternset">
+    <target name="-clean-java" unless="skip.java.build"
+            depends="-class-patternset">
         <delete file="${hy.jdk}/jre/lib/boot/swing.jar" />
         <delete file="${hy.jdk}/jre/lib/boot/swing-src.jar" />
         <delete failonerror="false">
@@ -62,12 +63,12 @@
         <delete-patternset module="${hy.module}" />
     </target>
 
-    <target name="-clean-test">
+    <target name="-clean-test" unless="skip.test.build">
         <delete dir="${tests.hdk.dir}" failonerror="false" />
         <delete failonerror="false" dir="bin"/>
     </target>
 
-    <target name="-compile-java">
+    <target name="-compile-java" unless="skip.java.build">
         <echo message="Compiling ${hy.module} classes" />
 
         <mkdir dir="../../build/classes" />
@@ -97,7 +98,8 @@
             outputFile="${findBugs.report}/swing.xml"/>
     </target>
 
-    <target name="-build-jar" depends="svn-info,-compile-java,-class-patternset">
+    <target name="-build-jar" unless="skip.java.build"
+            depends="svn-info,-compile-java,-class-patternset">
         <hy.jar.bin destfile="${hy.jdk}/jre/lib/boot/swing.jar"
              manifest="META-INF/MANIFEST.MF">
             <fileset refid="classes" />
@@ -110,7 +112,8 @@
         </hy.jar.src>
     </target>
 
-    <target name="-test-jar" depends="svn-info,-compile-tests">
+    <target name="-test-jar" unless="skip.test.build"
+            depends="svn-info,-compile-tests">
         <mkdir dir="${tests.hdk.dir}" />
         
         <copy file="make/run-test.xml" tofile="${tests.hdk.dir}/build.xml" />
@@ -134,7 +137,7 @@
         </copy>
     </target>
 
-    <target name="-compile-tests">
+    <target name="-compile-tests" unless="skip.test.build">
         <compile-tests description="swing tests"
                        destdir="bin/test/injected">
             <javac-elements>
@@ -149,7 +152,7 @@
         <ant dir="${tests.hdk.dir}" target="test-module" />
     </target>
 
-    <target name="-class-patternset">
+    <target name="-class-patternset" unless="skip.java.build">
         <make-patternset module="${hy.module}" />
     </target>
 

Modified: harmony/enhanced/java/branches/mrh/classlib/modules/text/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/mrh/classlib/modules/text/build.xml?rev=937088&r1=937087&r2=937088&view=diff
==============================================================================
--- harmony/enhanced/java/branches/mrh/classlib/modules/text/build.xml (original)
+++ harmony/enhanced/java/branches/mrh/classlib/modules/text/build.xml Thu Apr 22 22:33:46
2010
@@ -40,11 +40,12 @@
     </target>
 
     <!-- internal target for local and global test run sequence -->
-    <target name="-test-module" depends="build, -run-tests" />
+    <target name="-test-module" depends="build,-run-tests" />
     
     <target name="clean" depends="-clean-java,-clean-test" />
     
-    <target name="-clean-java" depends="-class-patternset">
+    <target name="-clean-java" unless="skip.java.build"
+            depends="-class-patternset">
         <delete file="${hy.jdk}/jre/lib/boot/text.jar" />
         <delete file="${hy.jdk}/jre/lib/boot/text-src.jar" />
         <delete failonerror="false">
@@ -53,12 +54,12 @@
         <delete-patternset module="${hy.module}" />
     </target>
 
-    <target name="-clean-test">
+    <target name="-clean-test" unless="skip.test.build">
         <delete dir="${tests.hdk.dir}" failonerror="false" />
         <delete failonerror="false" dir="bin"/>
     </target>
 
-    <target name="-compile-java">
+    <target name="-compile-java" unless="skip.java.build">
         <echo message="Compiling ${hy.module} classes" />
 
         <mkdir dir="../../build/classes" />
@@ -84,7 +85,8 @@
             outputFile="${findBugs.report}/text.xml"/>
     </target>
 
-    <target name="-build-jar" depends="svn-info,-compile-java,-class-patternset">
+    <target name="-build-jar" unless="skip.java.build"
+            depends="svn-info,-compile-java,-class-patternset">
         <hy.jar.bin destfile="${hy.jdk}/jre/lib/boot/text.jar"
                     manifest="META-INF/MANIFEST.MF">
             <fileset refid="classes" />
@@ -96,7 +98,8 @@
         </hy.jar.src>
     </target>
 
-    <target name="-test-jar" depends="svn-info,-compile-tests">
+    <target name="-test-jar" unless="skip.test.build"
+            depends="svn-info,-compile-tests">
         <mkdir dir="${tests.hdk.dir}" />
 
         <copy file="make/run-test.xml" tofile="${tests.hdk.dir}/build.xml" />
@@ -120,7 +123,7 @@
         </copy>
     </target>
 
-    <target name="-compile-tests">
+    <target name="-compile-tests" unless="skip.test.build">
         <compile-tests description="text tests">
             <javac-elements>
                 <src>
@@ -134,7 +137,7 @@
         <ant dir="${tests.hdk.dir}" target="test-module" />
     </target>
 
-    <target name="-class-patternset">
+    <target name="-class-patternset" unless="skip.java.build">
         <make-patternset module="${hy.module}" />
     </target>
 

Modified: harmony/enhanced/java/branches/mrh/classlib/modules/x-net/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/mrh/classlib/modules/x-net/build.xml?rev=937088&r1=937087&r2=937088&view=diff
==============================================================================
--- harmony/enhanced/java/branches/mrh/classlib/modules/x-net/build.xml (original)
+++ harmony/enhanced/java/branches/mrh/classlib/modules/x-net/build.xml Thu Apr 22 22:33:46
2010
@@ -40,11 +40,12 @@
     </target>
 
     <!-- internal target for local and global test run sequence -->
-    <target name="-test-module" depends="build, -run-tests" />
+    <target name="-test-module" depends="build,-run-tests" />
 
     <target name="clean" depends="-clean-java,-clean-test" />
     
-    <target name="-clean-java" depends="-class-patternset">
+    <target name="-clean-java" unless="skip.java.build"
+            depends="-class-patternset">
         <delete file="${hy.jdk}/jre/lib/boot/x-net.jar" />
         <delete file="${hy.jdk}/jre/lib/boot/x-net-src.jar" />
         <delete failonerror="false">
@@ -53,12 +54,12 @@
         <delete-patternset module="${hy.module}" />
     </target>
 
-    <target name="-clean-test">
+    <target name="-clean-test" unless="skip.test.build">
         <delete dir="${tests.hdk.dir}" failonerror="false" />
         <delete failonerror="false" dir="bin"/>
     </target>
 
-    <target name="-compile-java">
+    <target name="-compile-java" unless="skip.java.build">
         <echo message="Compiling ${hy.module} classes" />
 
         <mkdir dir="../../build/classes" />
@@ -84,7 +85,8 @@
             outputFile="${findBugs.report}/x-net.xml"/>
     </target>
 
-    <target name="-build-jar" depends="svn-info,-compile-java,-class-patternset">
+    <target name="-build-jar" unless="skip.java.build"
+            depends="svn-info,-compile-java,-class-patternset">
         <hy.jar.bin destfile="${hy.jdk}/jre/lib/boot/x-net.jar"
                 manifest="META-INF/MANIFEST.MF">
             <fileset refid="classes" />
@@ -96,7 +98,8 @@
         </hy.jar.src>
     </target>
 
-    <target name="-test-jar" depends="svn-info,-compile-tests">
+    <target name="-test-jar" unless="skip.test.build"
+            depends="svn-info,-compile-tests">
         <mkdir dir="${tests.hdk.dir}" />
 
         <copy file="make/run-test.xml" tofile="${tests.hdk.dir}/build.xml" />
@@ -132,7 +135,7 @@
         </copy>
     </target>
 
-    <target name="-compile-tests">
+    <target name="-compile-tests" unless="skip.test.build">
 
         <compile-tests description="x-net test support files"
                        destdir="bin/test/support">
@@ -175,7 +178,7 @@
         <ant dir="${tests.hdk.dir}" target="test-module" />
     </target>
 
-    <target name="-class-patternset">
+    <target name="-class-patternset" unless="skip.java.build">
         <make-patternset module="${hy.module}" />
     </target>
 



Mime
View raw message