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 14:32:56 UTC
svn commit: r795066 -
/harmony/enhanced/classlib/trunk/modules/instrument/build.xml
Author: hindessm
Date: Fri Jul 17 12:32:55 2009
New Revision: 795066
URL: http://svn.apache.org/viewvc?rev=795066&view=rev
Log:
Convert instrument module to use compile-tests macro.
Modified:
harmony/enhanced/classlib/trunk/modules/instrument/build.xml
Modified: harmony/enhanced/classlib/trunk/modules/instrument/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/instrument/build.xml?rev=795066&r1=795065&r2=795066&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/instrument/build.xml (original)
+++ harmony/enhanced/classlib/trunk/modules/instrument/build.xml Fri Jul 17 12:32:55 2009
@@ -151,28 +151,14 @@
</target>
<target name="compile-tests" depends="copy-test-resources">
- <echo message="Compiling INSTRUMENT 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="${hy.hdk}/build/test/support.jar" />
- </javac>
+ <compile-tests description="instrument tests"
+ destdir="bin/test">
+ <javac-elements>
+ <src>
+ <pathelement location="src/test/java" />
+ </src>
+ </javac-elements>
+ </compile-tests>
</target>
<target name="prepare-exclude">