You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2008/07/01 12:18:19 UTC

svn commit: r673048 - /harmony/enhanced/classlib/trunk/modules/luni/build.xml

Author: hindessm
Date: Tue Jul  1 03:18:19 2008
New Revision: 673048

URL: http://svn.apache.org/viewvc?rev=673048&view=rev
Log:
Remove more inefficient antcall tasks.

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/build.xml

Modified: harmony/enhanced/classlib/trunk/modules/luni/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/build.xml?rev=673048&r1=673047&r2=673048&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/build.xml (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/build.xml Tue Jul  1 03:18:19 2008
@@ -70,24 +70,12 @@
             </fileset>
         </copy>
 
-        <antcall target="copy-native-includes-windows" />
-        <antcall target="copy-native-includes-unix" />
-    </target>
-
-    <target name="copy-native-includes-windows" if="is.windows">
         <copy todir="${hy.hdk}/include" overwrite="yes">
-            <fileset dir="${hy.luni.src.main.native}/include/windows">
+            <fileset dir="${hy.luni.src.main.native}/include/${hy.os.family}">
                 <include name="jclprots.h" />
             </fileset>
         </copy>
-    </target>
 
-    <target name="copy-native-includes-unix" if="is.unix">
-        <copy todir="${hy.hdk}/include" overwrite="yes">
-            <fileset dir="${hy.luni.src.main.native}/include/unix">
-                <include name="jclprots.h" />
-            </fileset>
-        </copy>
     </target>
 
     <!-- Build native code -->
@@ -170,10 +158,11 @@
     </target>
 
     <!-- Overlay OSS packages into their required locations -->
-    <target name="overlay-oss" >
+    <target name="overlay-oss" depends="-unzip-oss,-ascii2ebcdic-conversion" />
+
+    <target name="-unzip-oss">
         <unzip src="${fdlibm.zip}" dest="${hy.luni.src.main.native}/fdlibm_dist" />
         <chmod dir="${hy.luni.src.main.native}/fdlibm_dist" perm="ugo+r" />
-        <antcall target="-ascii2ebcdic-conversion" />
     </target>
 
     <target name="-ascii2ebcdic-conversion" if="is.zos">
@@ -224,14 +213,13 @@
     <!-- internal target for local and global test run sequence -->
     <target name="-test-module" depends="build, compile-tests, prepare-exclude, run-tests" />
 
-    <target name="clean">
+    <target name="clean" depends="clean-native-includes" >
         <delete file="${hy.jdk}/jre/lib/boot/luni.jar" />
         <delete file="${hy.jdk}/jre/lib/boot/luni-src.jar" />
         <delete failonerror="false">
             <fileset refid="classes" />
         </delete>
         <delete failonerror="false" dir="bin"/>
-        <antcall target="clean-native-includes" />
     </target>
 
     <target name="clean-native-includes">