-
- <target name="prepareTests" depends="init">
- <mkdir dir="${testOutputDir}" />
- <copy todir="${testOutputDir}">
- <fileset dir=".">
- <include name="${docDir}/**/*.*" />
- <include name="${helpDir}/**/*.*" />
- <include name="${libDir}/*.jar" />
- </fileset>
- <fileset dir="${resourceDir}">
- <include name="**/*.*" />
- </fileset>
- </copy>
- </target>
-
- <target name="buildTests" depends="prepareTests">
- <javac source="${javac.source}" target="${javac.target}" srcdir="${sourceDir}" destdir="${testOutputDir}"
- debug="${javac.debug}" classpathref="build.classpath" includeantruntime="false" >
- </javac>
- <javac source="${javac.source}" target="${javac.target}" srcdir="${testDir}" destdir="${testOutputDir}"
- debug="${javac.debug}" classpathref="build.classpath" includeantruntime="false" >
- </javac>
+
+ <target name="prepareTests" depends="init,testclean">
+ <mkdir dir="${testOutputDir}" />