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/16 16:08:19 UTC

svn commit: r794683 - /harmony/enhanced/classlib/trunk/modules/auth/build.xml

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