aboutsummaryrefslogtreecommitdiffstats
path: root/build/build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'build/build.xml')
-rw-r--r--build/build.xml28
1 files changed, 26 insertions, 2 deletions
diff --git a/build/build.xml b/build/build.xml
index 0382c4428..015493d91 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -49,8 +49,20 @@
</target>
- <target name="init-version" depends="init,init-filters"
- unless="init.version.done" if="release.build" > <!-- unless=version.uptodate -->
+ <target name="version-uptodate" depends="init,init-taskdefs"
+ unless="version-uptodate.done">
+ <versionuptodate
+ version="${build.version}"
+ versionSourceFile="${aspectj.modules.dir}/bridge/src/org/aspectj/bridge/Version.java"
+ versionTagFile="${aj.temp.dir}/versionUptodate"/>
+
+ <available file="${aj.temp.dir}/versionUptodate"
+ property="version.uptodate"/>
+ <property name="version-uptodate.done" value="done"/>
+ </target>
+
+ <target name="init-version" depends="init,init-filters,version-uptodate"
+ unless="version.uptodate">
<antcall target="init-filters"/>
<copy file="${aspectj.modules.dir}/build/lib/BridgeVersion.java.txt"
tofile="${aspectj.modules.dir}/bridge/src/org/aspectj/bridge/Version.java"
@@ -216,6 +228,12 @@
inheritAll="false"/> <!-- true? -->
</target>
+ <target name="runtime" depends="init">
+ <antcall target="build-module-all">
+ <param name="module.name" value="runtime"/>
+ </antcall>
+ </target>
+
<!-- ===================================================================== -->
<!-- boilerplate antcalls -->
<!-- ===================================================================== -->
@@ -227,6 +245,12 @@
</antcall>
</target>
+ <target name="any-module-all" depends="init">
+ <antcall target="build-module-all">
+ <param name="module.name" value="${module.name}"/>
+ </antcall>
+ </target>
+
<target name="any-product" depends="init">
<antcall target="build-product">
<param name="product.name" value="${product.name}"/>