[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
|
- From: Andrew Eisenberg <andrew.eisenberg@xxxxxxxxxxxxxxxx>
- Date: Wed, 02 Sep 2009 12:40:33 -0700
- Newsgroups: eclipse.technology.ajdt
- Organization: EclipseCorner
- Thread-index: AcosBTw0X4stXmb6/UCT8XOPK1S6VA==
- Thread-topic: Restrict weaver to only certain packages
- User-agent: Microsoft-Entourage/12.20.0.090605
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!
>