Added dependance on -init to versioning targets and

changed dependance on other targets to -init rather than init.
This commit is contained in:
Jonathan Bernard 2010-10-22 08:37:11 -05:00
parent 9b69cd5c5b
commit 3c4205f336

View File

@ -60,14 +60,14 @@
</target> </target>
<!--======== VERSIONING TARGETS ========--> <!--======== VERSIONING TARGETS ========-->
<target name="increment-build-number"> <target name="increment-build-number" depends="-init">
<propertyfile file="${versioning.file}"> <propertyfile file="${versioning.file}">
<entry key="build.number" default="0" type="int" value="1" <entry key="build.number" default="0" type="int" value="1"
operation="+"/> operation="+"/>
</propertyfile> </propertyfile>
</target> </target>
<target name="set-version"> <target name="set-version" depends="-init">
<input <input
message="The current version is ${version}. Enter a new version: " message="The current version is ${version}. Enter a new version: "
addproperty="new-version"/> addproperty="new-version"/>
@ -78,7 +78,7 @@
</target> </target>
<!--======== COMPILATION TARGETS ========--> <!--======== COMPILATION TARGETS ========-->
<target name="-compile-groovy" depends="init,-init-groovy,lib"> <target name="-compile-groovy" depends="-init,-init-groovy,lib">
<groovyc srcdir="${src.dir}" destdir="${build.dir}/classes" <groovyc srcdir="${src.dir}" destdir="${build.dir}/classes"
includeAntRuntime="false"> includeAntRuntime="false">
@ -90,7 +90,7 @@
</groovyc> </groovyc>
</target> </target>
<target name="-compile-java" depends="init,lib"> <target name="-compile-java" depends="-init,lib">
<javac srcdir="${src.dir}" destdir="${build.dir}/classes" <javac srcdir="${src.dir}" destdir="${build.dir}/classes"
includeAntRuntime="false" classpathref="compile-libs"/> includeAntRuntime="false" classpathref="compile-libs"/>
</target> </target>