Browse Source

add the runtime classes into aspectjtools.jar. needed because of

static dependency from weaver classes to runtime classes.
Better than alternative of updating all ant scripts that fork and
the ajc compiler scripts to add aspectjrt.jar into path.
tags/for_ajdt1_1_12
acolyer 20 years ago
parent
commit
092ff9a403
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      build/build.xml

+ 3
- 0
build/build.xml View File

@@ -372,6 +372,9 @@ To use testing client jar in tests,
<mkdir dir="${aj.dist.dir}/tools_tmp"/>
<unjar dest="${aj.dist.dir}/tools_tmp"
src="${aj.dist.dir}/tools/lib/aspectjtools.jar"/>
<!-- put the runtime classes in too -->
<unjar dest="${aj.dist.dir}/tools_tmp"
src="${aj.dist.dir}/tools/lib/aspectjrt.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"

Loading…
Cancel
Save