[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.ajdt] Re: Restrict weaver to only certain packages

If you use the "within" pointcut, you will tell the weaver not to look in
any other classes/packages than what is specified in your pointcut.  This
should help in your situation.


On 02/09/09 10:52 AM, in article
0716c8e7a4197ff34cbafd1f43e41a18$1@xxxxxxxxxxxxxxx, "JS" <joel@xxxxxxxxxxx>
wrote:

> I'm using AJDT and maven plugin in eclipse.
> 
> Is there a way to configure aspectj to only weave a certain package? We
> have a large project that cannot be separated out at this time. The
> weaving takes a long time. All the classes that need to be weaved are in a
> single package. However, watching the progress, it appears to go through
> every class to weave it. How can I limit the weaving to speed up the build?
> 
> Thanks!
>