We have a problem and we tried to figure
out if this problem can be solved by iajc. We have WAR file which contains
the source and the @aspectJ files.
We use the ANT command <iajc>inpath="my_original_War"
-outJar="MyWar"
- classpath="The
full list of jar"
The weaven did not report any error,
everything seems fine. BUT, when we tried to run the WAR file inside
the EAR, it fails. We compared the both WAR and the WAR produced
by the Weaver did not have the same structure as the original WAR.
The WAR has an additional folder starting
from the root : com\companyName\projectName\.... In fact, the weaver have
put the src folder at the root of the WAR file instead of keeping the classes
inside WEB-INF\classes. It it like having duplicated classes, with and
without veaven.
For sure, it is not normal ?
Iis there a way to specify with IAJC
the destination folder where to put the weaven classes inside the
WAR (I think, there are weaven classes ?)
What are our alternatives ?
Best regards and thank you for your
quick feedback.
JA.
=============================================
The exact command for the weaver
=============================================