Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] AJDT and inpath

Alfonso Olias Sanz <aolias@xxxxxxxx> wrote on 21/09/2004 14:55:10:
> Just a short comment,  after weaving the external jar file, all the 
> classes that are inside the jar file apperar in the output folder as 
> .class, but only one class is cosscutted  by the aspect. Shouldn't be 
> there only the affected class file by the aspect?

Hi Alfonso,

No, everything on the inpath is output, after being possibly woven. A 
common scenario here is to have a jar file that you want to replace with 
one which contains the same classes, but has been woven into. This is done 
by specifying the original on the inpath, and then creating the new one by 
using the "outjar" option. In AJDT the outjar option can be set from the 
"AspectJ" project property page (it's actually called "Output jar").

Regards,

Matt.



Back to the top