Understood - Surfing on the net about
having a such thing, there is a real need and many users are facing to
It will increase the interoperability
between the java community and the tools will be more friendly for us.
In our case, the persons who are developping
and using AspectJ are not the same as the persons who are building the
project to deploy the ear. The competency is not the same. Building/Weaving
a project should be "smooth" enough for this king of persons.
Andy Clement <andrew.clement@xxxxxxxxx>
How to specify classpath inside a WAR for the weaver ?
Envoyé par :
I'm afraid that right now you can't tell AspectJ to look at jars
within jars. It is probably not toooo difficult to implement though.
Might be worth raising an enhancement request:
In the meantime you'll have to extract those into somewhere, but
unfortunately you will need to specify them all on a classpath. You
can turn off that error (or dial it down to a warning) because it is
an Xlint, but it may mean it is not be weaving what you would like it
to (as it couldn't complete its analysis).
On 14 May 2012 14:30, Jean Andre <Jean.Andre@xxxxxxxxxx> wrote:
> We got many, many errors like this :
> [iajc] when batch building BuildConfig[null] #Files=0
> [iajc] [Xlint:cantFindType]
> [iajc] [error 55]: error at (no source information
> can't determine implemented interfaces of missing type
> [iajc] when weaving type
> [iajc] when weaving classes
> [iajc] when weaving
> Looking for on Internet, we found that we have a classpath problem.
> We use ANT with the tag (iajc) - something like this: iajc -inpath
> CrmWeb_origine.war -outJar CrmWeb.war -showWeaveInfo
> As you can notice, we use a WAR, not a jar file and a WAR as WEB-INF/lib
> which contains all the necessary libraries needed by the application.
> However, the weaver does not find those libraries as we got more that
> errors for missing classes.
> How do we inform the waver that those file are inside the war itself
> Best regards,
> aspectj-users mailing list
aspectj-users mailing list