Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » Aspect not applied after adding annotation
Aspect not applied after adding annotation [message #633756] Tue, 19 October 2010 09:50 Go to next message
Julien HENRY is currently offline Julien HENRYFriend
Messages: 7
Registered: July 2009
Junior Member
Hi,

On our project we are using aspects with pointcut expressed on custom annotation. For example we want to cut all methods with @MyAnnotation annotation.

The problem comes when we first write the method without the annotation, save (=build), then add the annotation, save (=incremental build ?).
In this case the aspect is not applied.

A workaround is to perform a full clean of the project.

I would like to know if this is a known issue and if there is something we can do to avoid needing to clean the project.

Thanks

Julien
Re: Aspect not applied after adding annotation [message #633885 is a reply to message #633756] Tue, 19 October 2010 17:07 Go to previous messageGo to next message
Andrew Eisenberg is currently offline Andrew EisenbergFriend
Messages: 382
Registered: July 2009
Senior Member
This sounds like a bug in our incremental compiler. Can you please send a message to the aspectj mailing list and include a small code snippet that describes the failure?

Mailing list is here:
http://eclipse.org/aspectj/userlists.php
Re: Aspect not applied after adding annotation [message #633979 is a reply to message #633885] Wed, 20 October 2010 07:19 Go to previous message
Julien HENRY is currently offline Julien HENRYFriend
Messages: 7
Registered: July 2009
Junior Member
Thanks Andrew, I'll post on the mailing list.
Previous Topic:intertype declarations in separate project
Next Topic:A Request from a Novice
Goto Forum:
  


Current Time: Fri Dec 15 21:30:33 GMT 2017

Powered by FUDForum. Page generated in 0.02050 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software