harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r429624 - in /incubator/harmony/enhanced/classlib/trunk/modules/swing: build.xml src/test/api/java/common/javax/swing/images/ src/test/resources/ src/test/resources/javax/ src/test/resources/javax/swing/ src/test/resources/javax/swing/images/
Date Tue, 08 Aug 2006 10:11:36 GMT
Author: hindessm
Date: Tue Aug  8 03:11:35 2006
New Revision: 429624

URL: http://svn.apache.org/viewvc?rev=429624&view=rev
Log:
Move swing test images to resources tree and create copy.test.resources target.

Added:
    incubator/harmony/enhanced/classlib/trunk/modules/swing/src/test/resources/
    incubator/harmony/enhanced/classlib/trunk/modules/swing/src/test/resources/javax/
    incubator/harmony/enhanced/classlib/trunk/modules/swing/src/test/resources/javax/swing/
    incubator/harmony/enhanced/classlib/trunk/modules/swing/src/test/resources/javax/swing/images/
      - copied from r429611, incubator/harmony/enhanced/classlib/trunk/modules/swing/src/test/api/java/common/javax/swing/images/
Removed:
    incubator/harmony/enhanced/classlib/trunk/modules/swing/src/test/api/java/common/javax/swing/images/
Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/swing/build.xml

Modified: incubator/harmony/enhanced/classlib/trunk/modules/swing/build.xml
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/swing/build.xml?rev=429624&r1=429623&r2=429624&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/swing/build.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/swing/build.xml Tue Aug  8 03:11:35
2006
@@ -43,7 +43,7 @@
 
     <target name="build" depends="compile.java, build.jar" />
 
-    <target name="test" depends="build, compile.tests, run.tests" />
+    <target name="test" depends="build, run.tests" />
 
     <target name="clean">
         <delete failonerror="false">
@@ -105,7 +105,8 @@
         </javac>
     </target>
 
-    <target name="run.tests" if="with.awt.swing.tests">
+    <target name="run.tests" depends="compile.tests,copy.test.resources"
+            if="with.awt.swing.tests">
 
         <mkdir dir="${hy.tests.reports}" />
 
@@ -173,6 +174,15 @@
     <target name="touch-errors-file" if="test.errors">
         <echo file="${hy.tests.reports}/test.errors"
             append="true">swing${line.separator}</echo>
+    </target>
+
+    <target name="copy.test.resources">
+        <mkdir dir="${hy.swing.bin.test}" />
+        <copy todir="${hy.swing.bin.test}" includeemptydirs="false">
+            <fileset dir="${hy.swing.src.test.resources}">
+                <exclude name="**/*.java" />
+            </fileset>
+        </copy>
     </target>
 
 </project>



Mime
View raw message