bayard 02/02/25 10:44:27
Modified: util build.xml
Log:
updated the build so it is dependent on the lang. note that lang will also update
soon as I didn't have its build.xml right.
it's all a learning thing :)
Revision Changes Path
1.12 +9 -43 jakarta-commons-sandbox/util/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/util/build.xml,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- build.xml 20 Feb 2002 20:57:46 -0000 1.11
+++ build.xml 25 Feb 2002 18:44:27 -0000 1.12
@@ -3,7 +3,7 @@
<!--
"Util" component of the Jakarta Commons Subproject
- $Id: build.xml,v 1.11 2002/02/20 20:57:46 dlr Exp $
+ $Id: build.xml,v 1.12 2002/02/25 18:44:27 bayard Exp $
-->
@@ -21,6 +21,7 @@
<!-- The directory containing your binary distribution of JUnit,
version 3.7 or later -->
<property name="junit.home" value="/usr/local/junit3.7"/>
+ <property name="lang.home" value="../lang"/>
<!-- ========== Derived Values ============================================ -->
@@ -28,6 +29,8 @@
<!-- The pathname of the "junit.jar" JAR file -->
<property name="junit.jar" value="${junit.home}/junit.jar"/>
+ <property name="commons-lang.api" value="${lang.home}/dist/docs/api"/>
+ <property name="commons-lang.jar" value="${lang.home}/dist/commons-lang.jar"/>
<!-- ========== Component Declarations ==================================== -->
@@ -76,7 +79,7 @@
<!-- Construct compile classpath -->
<path id="compile.classpath">
<pathelement location="${build.home}/classes"/>
- <pathelement location="${servlet.jar}"/>
+ <pathelement location="${commons-lang.jar}"/>
</path>
@@ -87,6 +90,7 @@
<path id="test.classpath">
<pathelement location="${build.home}/classes"/>
<pathelement location="${build.home}/tests"/>
+ <pathelement location="${commons-lang.jar}"/>
<pathelement location="${junit.jar}"/>
</path>
@@ -182,6 +186,8 @@
doctitle="<h1>${component.title}</h1>"
windowtitle="${component.title} (Version ${component.version})"
bottom="Copyright (c) 2001-2002 - Apache Software Foundation">
+ <link offline="true" packagelistLoc="${commons-collections.api}"
+ href="http://jakarta.apache.org/commons/collections/api/"/>
<classpath refid="compile.classpath"/>
</javadoc>
</target>
@@ -224,57 +230,17 @@
<target name="test" depends="compile.tests,
- test.hexdump,
- test.bitfield,
- test.sequencedhashtable,
- test.buffercache,
- test.stringutils
+ test.bitfield
"
description="Run all unit test cases">
</target>
- <target name="test.hexdump" depends="compile.tests">
- <echo message="Running HexDump tests ..."/>
- <java classname="${test.runner}" fork="yes"
- failonerror="${test.failonerror}">
- <arg value="org.apache.commons.util.HexDumpTest"/>
- <classpath refid="test.classpath"/>
- </java>
- </target>
-
<target name="test.bitfield" depends="compile.tests">
<echo message="Running BitField tests ..."/>
<java classname="${test.runner}" fork="yes"
failonerror="${test.failonerror}">
<arg value="org.apache.commons.util.BitFieldTest"/>
- <classpath refid="test.classpath"/>
- </java>
- </target>
-
- <target name="test.sequencedhashtable" depends="compile.tests">
- <echo message="Running SequencedHashtable tests ..."/>
- <java classname="${test.runner}" fork="yes"
- failonerror="${test.failonerror}">
- <arg value="org.apache.commons.util.SequencedHashtableTest"/>
- <classpath refid="test.classpath"/>
- </java>
- </target>
-
- <target name="test.buffercache" depends="compile.tests">
- <echo message="Running BufferCache tests ..."/>
- <java classname="${test.runner}" fork="yes"
- failonerror="${test.failonerror}">
- <arg value="org.apache.commons.util.BufferCacheTest"/>
- <classpath refid="test.classpath"/>
- </java>
- </target>
-
- <target name="test.stringutils" depends="compile.tests">
- <echo message="Running StringUtils tests ..."/>
- <java classname="${test.runner}" fork="yes"
- failonerror="${test.failonerror}">
- <arg value="org.apache.commons.util.StringUtilsTest"/>
<classpath refid="test.classpath"/>
</java>
</target>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>