harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From py...@apache.org
Subject svn commit: r464580 - /incubator/harmony/enhanced/classlib/trunk/modules/luni/build.xml
Date Mon, 16 Oct 2006 17:39:01 GMT
Author: pyang
Date: Mon Oct 16 10:39:00 2006
New Revision: 464580

URL: http://svn.apache.org/viewvc?view=rev&rev=464580
Log:
copy test resources before compile tests

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

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/build.xml
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/build.xml?view=diff&rev=464580&r1=464579&r2=464580
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/build.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/build.xml Mon Oct 16 10:39:00 2006
@@ -284,7 +284,7 @@
         </jar>
     </target>
 
-    <target name="compile-tests">
+    <target name="compile-tests" depends="copy-test-resources">
         <compile-tests description="JUnit Tests" destdir="${hy.luni.bin.test}">
             <javac-elements>
                 <src>
@@ -348,6 +348,15 @@
         <mkdir dir="${hy.build}" />
         <copy todir="${hy.build}" includeemptydirs="false">
             <fileset dir="${hy.luni.src.main.java}">
+                <exclude name="**/*.java" />
+            </fileset>
+        </copy>
+    </target>
+
+    <target name="copy-test-resources">
+        <mkdir dir="${hy.luni.bin.test}" />
+        <copy todir="${hy.luni.bin.test}" includeemptydirs="false">
+            <fileset dir="${hy.luni.src.test.resources}">
                 <exclude name="**/*.java" />
             </fileset>
         </copy>



Mime
View raw message