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:25:44 UTC

svn commit: r795076 - /harmony/enhanced/classlib/trunk/modules/math/build.xml

Author: hindessm
Date: Fri Jul 17 13:25:44 2009
New Revision: 795076

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

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

Modified: harmony/enhanced/classlib/trunk/modules/math/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/math/build.xml?rev=795076&r1=795075&r2=795076&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/math/build.xml (original)
+++ harmony/enhanced/classlib/trunk/modules/math/build.xml Fri Jul 17 13:25:44 2009
@@ -125,28 +125,14 @@
     </target>
 
     <target name="compile-tests">
-        <echo message="Compiling MATH tests" />
-
-        <mkdir dir="bin/test" />
-
-        <javac srcdir="src/test/java"
-               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="math tests"
+                       destdir="bin/test">
+            <javac-elements>
+                <src>
+                    <pathelement location="src/test/java" />
+                </src>
+            </javac-elements>
+        </compile-tests>
     </target>
 
     <target name="prepare-exclude">