diff options
author | aclement <aclement> | 2004-04-05 15:10:56 +0000 |
---|---|---|
committer | aclement <aclement> | 2004-04-05 15:10:56 +0000 |
commit | 88a950aae400051fc0e79ff0ae627453622843d4 (patch) | |
tree | 22acefd82ea31deac25f4aa245dd2ed6265ab20a /build/build.xml | |
parent | 4c5bf9012b763c91fee684c7cfb9cb0e50549769 (diff) | |
download | aspectj-88a950aae400051fc0e79ff0ae627453622843d4.tar.gz aspectj-88a950aae400051fc0e79ff0ae627453622843d4.zip |
1.2 rc1 build/pkg : Add in ajdoc target. Temp method of clearing stuff
from the aspectjtools jar.
Diffstat (limited to 'build/build.xml')
-rw-r--r-- | build/build.xml | 35 |
1 files changed, 34 insertions, 1 deletions
diff --git a/build/build.xml b/build/build.xml index 70385353a..44cef9762 100644 --- a/build/build.xml +++ b/build/build.xml @@ -335,12 +335,18 @@ To use testing client jar in tests, <echo message="use org.aspectj.ajdt.core-all.jar for eajc.jar"/> </target> - <target name="ajbrowser-all"> + <target name="ajbrowser-all" > <antcall target="build-module-all"> <param name="module.name" value="ajbrowser"/> </antcall> </target> + <target name="ajdoc-all"> + <antcall target="build-module-all"> + <param name="module.name" value="ajdoc"/> + </antcall> + </target> + <target name="build"> <antcall target="build-module"> <param name="module.name" value="build"/> @@ -352,6 +358,32 @@ To use testing client jar in tests, <antcall target="build-product"> <param name="product.name" value="tools"/> </antcall> + <!-- TODO : remove call --> + <antcall target="filter-tools-jar" /> + </target> + + <target name="filter-tools-jar"> + <!-- + TODO : get rid of this! + Temp hack ahoy. Open up the aspectjtools.jar to a temp + location and then do a re-jar of it including only the + stuff we want to be in there. + --> + <mkdir dir="${aj.dist.dir}/tools_tmp"/> + <unjar dest="${aj.dist.dir}/tools_tmp" + src="${aj.dist.dir}/tools/lib/aspectjtools.jar"/> + <!-- Ant 1.5.1 doesn't overwrite the jar, even with update set to false --> + <delete file="${aj.dist.dir}/tools/lib/aspectjtools.jar" /> + <jar manifest="${aj.dist.dir}/tools_tmp/META-INF/MANIFEST.MF" + destfile="${aj.dist.dir}/tools/lib/aspectjtools.jar"> + <fileset dir="${aj.dist.dir}/tools_tmp"> + <include name="javax/**"/> + <include name="org/**"/> + <include name="copyright.txt"/> + <include name="META-INF/**"/> + </fileset> + </jar> + <delete dir="${aj.dist.dir}/tools_tmp" /> </target> <!-- ===================================================================== --> @@ -376,6 +408,7 @@ To use testing client jar in tests, todir="${aj.plugin.org.aspectj.ajde.source.dir}/src"/> <zip destfile="${aj.plugin.org.aspectj.ajde.source.dir}/src/aspectjsrc.zip"> <fileset dir="${aspectj.modules.dir}/ajbrowser/src" includes="**"/> + <fileset dir="${aspectj.modules.dir}/ajdoc/src" includes="**"/> <fileset dir="${aspectj.modules.dir}/ajde/src" includes="**"/> <fileset dir="${aspectj.modules.dir}/asm/src" includes="**"/> <fileset dir="${aspectj.modules.dir}/bridge/src" includes="**"/> |