You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by jv...@apache.org on 2001/12/02 19:06:59 UTC
cvs commit: jakarta-commons-sandbox/graph build-test.xml
jvanzyl 01/12/02 10:06:59
Added: graph build-test.xml
Log:
- testing build for the graph package
Revision Changes Path
1.1 jakarta-commons-sandbox/graph/build-test.xml
Index: build-test.xml
===================================================================
<?xml version="1.0"?>
<project name="Stratum" default="test" basedir=".">
<!-- Allow any user specific values to override the defaults -->
<property file="${user.home}/build.properties" />
<!-- Allow user defaults for this project -->
<property file="build.properties" />
<!-- Set default values for the build -->
<property file="default.properties" />
<!-- Construct compile classpath -->
<path id="classpath">
<pathelement location="${junit.jar}"/>
<pathelement location="${build.home}/class"/>
</path>
<!-- ================================================================== -->
<!-- T E S T -->
<!-- ================================================================== -->
<target
name="test"
depends="compile-test"
description="runs (junit) unit tests">
<echo>
Running all JUnit tests
</echo>
<junit printSummary="yes">
<formatter type="plain"/>
<classpath refid="classpath"/>
<batchtest todir=".">
<fileset dir="${build.home}/class">
<include name="**/*Test*.class"/>
</fileset>
</batchtest>
</junit>
</target>
<!-- ================================================================== -->
<!-- C O M P I L E T E S T S -->
<!-- ================================================================== -->
<target
name="compile-test"
description="==> compiles the test source code">
<ant antfile="build.xml" target="clean"/>
<ant antfile="build.xml" target="compile"/>
<javac srcdir="${test.home}"
destdir="${build.home}/class"
excludes="**/package.html"
debug="${debug}"
deprecation="${deprecation}"
optimize="${optimize}">
<classpath refid="classpath"/>
<classpath>
<pathelement path="${build.home}/class"/>
</classpath>
</javac>
</target>
</project>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>