|
From: Steve F. <sm...@us...> - 2002-10-17 00:34:51
|
Update of /cvsroot/mockobjects/nat/jmock
In directory usw-pr-cvs1:/tmp/cvs-serv21088
Added Files:
build.xml
Log Message:
Started ant build file
--- NEW FILE: build.xml ---
<?xml version="1.0"?>
<project name="mockobjects" default="jar" basedir=".">
<target name="project.properties">
<tstamp/>
<property name="build.number" value="0001"/>
<property name="jar.name" value="jmock-${build.number}.jar"/>
<property name="src.jar.name" value="jmock-src-${build.number}.jar"/>
<property name="build.dir" value="build"/>
<property name="junit.lib" value="lib/junit.jar"/>
<property name="compile.dir" value="classes"/>
<property name="debug" value="true"/>
</target>
<target name="compile"
depends="project.properties">
<mkdir dir="${compile.dir}"/>
<javac
destdir="${compile.dir}"
debug="${debug}"
srcdir="source:test"
classpath="${junit.lib}"/>
</target>
<target name="junit"
depends="compile">
<junit printsummary="yes" haltonfailure="yes">
<classpath>
<pathelement path="${compile.dir}" />
</classpath>
<formatter type="plain"/>
<batchtest>
<fileset dir="${compile.dir}">
<include name="**/Test_*.class"/>
</fileset>
</batchtest>
</junit>
</target>
</project>
|