harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r795078 - /harmony/enhanced/classlib/trunk/modules/nio/build.xml
Date Fri, 17 Jul 2009 13:32:52 GMT
Author: hindessm
Date: Fri Jul 17 13:32:51 2009
New Revision: 795078

URL: http://svn.apache.org/viewvc?rev=795078&view=rev
Log:
Convert nio module to use compile-tests macro.

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

Modified: harmony/enhanced/classlib/trunk/modules/nio/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio/build.xml?rev=795078&r1=795077&r2=795078&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio/build.xml (original)
+++ harmony/enhanced/classlib/trunk/modules/nio/build.xml Fri Jul 17 13:32:51 2009
@@ -169,31 +169,15 @@
     </target>
 
     <target name="compile-tests" depends="copy-test-resources">
-        <echo message="Compiling NIO tests" />
-
-        <mkdir dir="bin/test" />
-
-        <javac destdir="bin/test"
-               sourcepath=""
-               compiler="${hy.javac.compiler}"
-               memoryMaximumSize="${hy.javac.maxmem}"
-               source="${hy.javac.source}"
-               target="${hy.javac.target}"
-               debug="${hy.javac.debug}">
-
-            <compilerarg line="${build.compilerarg}" />
-
-            <src>
-                <pathelement location="src/test/java/common" />
-                <pathelement location="${hy.nio.src.test.java.platform}" />
-            </src>
-            <bootclasspath>
-                <fileset dir="${hy.jdk}/jre/lib/boot">
-                    <include name="**/*.jar" />
-                </fileset>
-            </bootclasspath>
-            <classpath location="${hy.hdk}/build/test/support.jar" />
-        </javac>
+        <compile-tests description="nio tests"
+                       destdir="bin/test">
+            <javac-elements>
+                <src>
+                    <pathelement location="src/test/java/common" />
+                    <pathelement location="${hy.nio.src.test.java.platform}" />
+                </src>
+            </javac-elements>
+        </compile-tests>
     </target>
 
     <target name="prepare-exclude">



Mime
View raw message