To all,
I am using ant IAJC task to weave an Aspect Library
JAR file, with other project JAR file to produce a single WOVEN jar
file.
Using the following ANT task this is successful,
but the corresponding JAR no longer has directory entries.
Build Task:
<iajc classpathref="aop.jar.classpath"
debug="true"
compliance="-1.5"
xlint="true"
outjar="${build.dir}/tempWoven.jar">
<injars>
<pathelement
path="${build.dir}/${jarfile}"/>
</injars>
<aspectpath>
<pathelement path="${mlib.dir}/${admaspect.jar}"/>
<pathelement
path="${lib.dir}/${spring-aspects.jar}"/>
</aspectpath>
</iajc>
The input Jar file has structure like:
base/package/structure/
base/package/structure/someObject.class
The input Jar file has structure like:
base/package/structure/someObject.class
base/package/structure/someObject$AjcClosure1.class
If I use the inpathDirCopyFilter, then the
directory structure is retained, but all non class file elements fropm the
input jar are not merged into the outjar.
I can not find any way to merge aspect library with
JAR file, to produce a JAR output that retains the empty directories and non
class files.
Many Thanks for any help!
***********************************************************************************
aquila
This email may contain privileged and confidential
information and should not be used by anyone who is not
the original
intended recipient(s). Any other distribution, use or reproduction without the
sender's prior
consent is unauthorised and strictly prohibited.
If you have received this email in error, please
notify the sender immediately by email and delete all copies of
the
message from your system.
***********************************************************************************
_______________________________________________
aspectj-dev mailing list