summaryrefslogtreecommitdiffstats
path: root/make/build.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-04-22 16:16:04 +0200
committerSven Gothel <[email protected]>2010-04-22 16:16:04 +0200
commit9162a4c083be8ad15eef3cffad6d070c9ea12b93 (patch)
treec2026fb72d8851abe2fd66fb7f6d69e01b0243f8 /make/build.xml
parentbce53b52c8638729750c4286dbc04cb14329fd34 (diff)
Cleanup uptodate rule
Diffstat (limited to 'make/build.xml')
-rwxr-xr-xmake/build.xml13
1 files changed, 10 insertions, 3 deletions
diff --git a/make/build.xml b/make/build.xml
index a9a7d6a..e9333ab 100755
--- a/make/build.xml
+++ b/make/build.xml
@@ -11,6 +11,14 @@
-->
<project name="GlueGen" basedir="." default="all">
+ <fail message="Please build using Ant 1.8.0 or higher.">
+ <condition>
+ <not>
+ <antversion atleast="1.8.0"/>
+ </not>
+ </condition>
+ </fail>
+
<!-- This is the version of GlueGen you are building -->
<property name="gluegen_base_version" value="1.0-beta07"/>
@@ -482,7 +490,7 @@
</copy>
</target>
- <target name="gluegen.build" depends="init">
+ <target name="gluegen.build.check" depends="init">
<uptodate property="gluegen.build.skip">
<srcfiles dir= "." includes="*.xml"/>
<srcfiles dir= "${src.java}" includes="**"/>
@@ -490,10 +498,9 @@
<srcfiles dir= "${j.grammar}" includes="**/*.g"/>
<mapper type="merge" to="${build}/gluegen.jar"/>
</uptodate>
- <antcall target="gluegen.build.impl" inheritRefs="true"/>
</target>
- <target name="gluegen.build.impl" unless="gluegen.build.skip">
+ <target name="gluegen.build" depends="gluegen.build.check" unless="gluegen.build.skip">
<antcall target="pre-build" inheritRefs="true"/>
<!-- Because ANTLR looks for importVocab files in the current