Moved mkdir above delete in core build.xml and removed mkdir from base build.xml

mkdir does nothing if the directory exists, whereas delete fails by default
if the directory doesn't exist. Also, mkdir creates parent dirs as needed.
This commit is contained in:
str4d
2012-02-16 02:58:25 +00:00
parent 8a32aad6c3
commit d1a03f500f
2 changed files with 1 additions and 4 deletions

View File

@ -92,14 +92,12 @@
</cobertura-instrument>
</target>
<target name="test" depends="clean, compileTest, prepareTest">
<mkdir dir="../../reports/core/junit/" />
<delete>
<fileset dir="../../reports/core/junit">
<include name="TEST-*.xml"/>
</fileset>
</delete>
<mkdir dir="../../reports/" />
<mkdir dir="../../reports/core/" />
<mkdir dir="../../reports/core/junit/" />
<junit printsummary="on" fork="yes" maxmemory="384m">
<sysproperty key="net.sourceforge.cobertura.datafile" file="./cobertura.ser" />
<classpath>