harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r794683 - /harmony/enhanced/classlib/trunk/modules/auth/build.xml
Date Thu, 16 Jul 2009 14:08:19 GMT
Author: hindessm
Date: Thu Jul 16 14:08:18 2009
New Revision: 794683

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

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

Modified: harmony/enhanced/classlib/trunk/modules/auth/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/auth/build.xml?rev=794683&r1=794682&r2=794683&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/auth/build.xml (original)
+++ harmony/enhanced/classlib/trunk/modules/auth/build.xml Thu Jul 16 14:08:18 2009
@@ -169,35 +169,15 @@
     </target>
 
     <target name="compile-tests">
-        <echo message="Compiling AUTH tests" />
-
-        <mkdir dir="bin/test" />
-
-        <javac  destdir="bin/test"
-               compiler="${hy.javac.compiler}"
-               memoryMaximumSize="${hy.javac.maxmem}"
-               source="${hy.javac.source}" 
-               target="${hy.javac.target}"
-               debug="${hy.javac.debug}">
-
-            <src>
-                <pathelement location="src/test/java/common"/>
-                <pathelement location="${hy.auth.src.test.java.platform}"/>
-            </src>
-
-            <include name="javax/security/auth/**/*Test*.java" />
-            <include name="javax/security/sasl/**/*Test*.java" />
-            <include name="org/ietf/jgss/*Test.java" />
-            <include name="org/apache/harmony/auth/**/*Test.java" />
-            <include name="tests/api/javax/security/auth/x500/X500PrincipalTest.java"
/>
-
-            <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="auth api tests"
+                       destdir="bin/test">
+            <javac-elements>
+                <src>
+                    <pathelement location="src/test/java/common"/>
+                    <pathelement location="${hy.auth.src.test.java.platform}"/>
+                </src>
+            </javac-elements>
+        </compile-tests>
     </target>
 
     <target name="prepare-exclude">



Mime
View raw message