Hi, 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:
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=AspectJ 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). cheers, Andy On 14 May 2012 14:30, Jean Andre <jean.an...@intact.net> wrote: > Hello, > > We got many, many errors like this : > > [iajc] when batch building BuildConfig[null] #Files=0 AopXmls=#0 > [iajc] [Xlint:cantFindType] > [iajc] [error 55]: error at (no source information available) > [iajc] > F:\cruisecontrol-service-4\artifacts\MyApplication_01_SYSINT\20120509153156\MyApplication-1.0.0.49\CrmWeb_origine.war:0::0 > can't determine implemented interfaces of missing type > javax.validation.ConstraintValidator > [iajc] when weaving type > com.intact.crm.web.validator.impl.PostalCodeValidator > [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 150 > errors for missing classes. > > How do we inform the waver that those file are inside the war itself ? > > Best regards, > > JA > _______________________________________________ > aspectj-users mailing list > aspectj-users@eclipse.org > https://dev.eclipse.org/mailman/listinfo/aspectj-users > _______________________________________________ aspectj-users mailing list aspectj-users@eclipse.org https://dev.eclipse.org/mailman/listinfo/aspectj-users