diff options
author | wisberg <wisberg> | 2002-12-23 19:41:48 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2002-12-23 19:41:48 +0000 |
commit | 9441d053abb841472dc2833417f6c495ccfa1190 (patch) | |
tree | ddc7fc67737142bb89799ce8f6db131853194a78 /build/build.xml | |
parent | e4e1027f57344200c4e89f3d3daeb4c72ba2221d (diff) | |
download | aspectj-9441d053abb841472dc2833417f6c495ccfa1190.tar.gz aspectj-9441d053abb841472dc2833417f6c495ccfa1190.zip |
fixing version-handling.
build-properties.xml has actual version,
Version.java is generated,
and "DEVELOPMENT" is default.
Diffstat (limited to 'build/build.xml')
-rw-r--r-- | build/build.xml | 28 |
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}"/> |