Added dependance on -init to versioning targets and
changed dependance on other targets to -init rather than init.
This commit is contained in:
parent
9b69cd5c5b
commit
3c4205f336
@ -60,14 +60,14 @@
|
||||
</target>
|
||||
|
||||
<!--======== VERSIONING TARGETS ========-->
|
||||
<target name="increment-build-number">
|
||||
<target name="increment-build-number" depends="-init">
|
||||
<propertyfile file="${versioning.file}">
|
||||
<entry key="build.number" default="0" type="int" value="1"
|
||||
operation="+"/>
|
||||
</propertyfile>
|
||||
</target>
|
||||
|
||||
<target name="set-version">
|
||||
<target name="set-version" depends="-init">
|
||||
<input
|
||||
message="The current version is ${version}. Enter a new version: "
|
||||
addproperty="new-version"/>
|
||||
@ -78,7 +78,7 @@
|
||||
</target>
|
||||
|
||||
<!--======== 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"
|
||||
includeAntRuntime="false">
|
||||
|
||||
@ -90,7 +90,7 @@
|
||||
</groovyc>
|
||||
</target>
|
||||
|
||||
<target name="-compile-java" depends="init,lib">
|
||||
<target name="-compile-java" depends="-init,lib">
|
||||
<javac srcdir="${src.dir}" destdir="${build.dir}/classes"
|
||||
includeAntRuntime="false" classpathref="compile-libs"/>
|
||||
</target>
|
Loading…
x
Reference in New Issue
Block a user