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 2009/07/17 15:32:52 UTC

svn commit: r795078 - /harmony/enhanced/classlib/trunk/modules/nio/build.xml

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">