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 11:35:07 UTC

svn commit: r795021 - /harmony/enhanced/classlib/trunk/modules/applet/build.xml

Author: hindessm
Date: Fri Jul 17 09:35:05 2009
New Revision: 795021

URL: http://svn.apache.org/viewvc?rev=795021&view=rev
Log:
Applet doesn't actually have any tests, but it does have compile-tests
target so I'm fixing that to use the corresponding macro.

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

Modified: harmony/enhanced/classlib/trunk/modules/applet/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/applet/build.xml?rev=795021&r1=795020&r2=795021&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/applet/build.xml (original)
+++ harmony/enhanced/classlib/trunk/modules/applet/build.xml Fri Jul 17 09:35:05 2009
@@ -124,26 +124,14 @@
     </target>
 
     <target name="compile-tests">
-        <echo message="Compiling APPLET 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}">
-
-            <bootclasspath>
-                <fileset dir="${hy.jdk}/jre/lib/boot">
-                    <include name="**/*.jar" />
-                </fileset>
-            </bootclasspath>
-            <classpath location="../../build/tests" />
-        </javac>
+        <compile-tests description="applet tests"
+                       destdir="bin/test">
+            <javac-elements>
+                <src>
+                    <pathelement location="src/test/java" />
+                </src>
+            </javac-elements>
+        </compile-tests>
     </target>
 
     <target name="prepare-exclude">