Improved demonstration build by automatically cleaning. Contributed by Ceki Gülcü.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@170829 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -47,7 +47,7 @@
|
|||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
|
||||||
<target name='clean'>
|
<target name='init'>
|
||||||
<delete dir='${build.home}'/>
|
<delete dir='${build.home}'/>
|
||||||
<mkdir dir='${build.home}'/>
|
<mkdir dir='${build.home}'/>
|
||||||
<mkdir dir='${bin.tests}'/>
|
<mkdir dir='${bin.tests}'/>
|
||||||
@@ -55,6 +55,10 @@
|
|||||||
<mkdir dir='${bin.static}'/>
|
<mkdir dir='${bin.static}'/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<target name='clean'>
|
||||||
|
<delete dir='${build.home}'/>
|
||||||
|
</target>
|
||||||
|
|
||||||
<target name='build-static'>
|
<target name='build-static'>
|
||||||
<javac srcdir="${source}"
|
<javac srcdir="${source}"
|
||||||
destdir="${bin.static}"
|
destdir="${bin.static}"
|
||||||
@@ -109,9 +113,7 @@
|
|||||||
</javadoc>
|
</javadoc>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name='build' depends='build-static, build-caller, build-tests, javadoc'>
|
<target name='build' depends='init, build-static, build-caller, build-tests, javadoc'>
|
||||||
|
|
||||||
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name='run'>
|
<target name='run'>
|
||||||
|
|||||||
Reference in New Issue
Block a user