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:28:07 UTC

svn commit: r795077 - /harmony/enhanced/classlib/trunk/modules/misc/build.xml

Author: hindessm
Date: Fri Jul 17 13:28:07 2009
New Revision: 795077

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

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

Modified: harmony/enhanced/classlib/trunk/modules/misc/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/misc/build.xml?rev=795077&r1=795076&r2=795077&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/misc/build.xml (original)
+++ harmony/enhanced/classlib/trunk/modules/misc/build.xml Fri Jul 17 13:28:07 2009
@@ -153,28 +153,14 @@
     </target>
 
     <target name="compile-tests">
-        <echo message="Compiling MISC tests" />
-
-        <mkdir dir="bin/test" />
-
-        <javac srcdir="src/test/java/common"
-               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}" />
-
-            <bootclasspath>
-                <fileset dir="${hy.jdk}/jre/lib/boot">
-                    <include name="**/*.jar" />
-                </fileset>
-            </bootclasspath>
-            <classpath location="../../build/tests" />
-        </javac>
+        <compile-tests description="misc tests"
+                       destdir="bin/test">
+            <javac-elements>
+                <src>
+                    <pathelement location="src/test/java/common" />
+                </src>
+            </javac-elements>
+        </compile-tests>
     </target>
 
     <target name="prepare-exclude">