Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » ajdt not executing advice when the aspect is included in a large project
ajdt not executing advice when the aspect is included in a large project [message #59919] Wed, 28 December 2005 19:46 Go to next message
Rob Scott is currently offline Rob ScottFriend
Messages: 2
Registered: July 2009
Junior Member
I have a very large Java project and added an aspect to it but the advice
does not get executed. It appears that the size of the project is the
cause of the problem because when I delete a major portion of the project
code and run the same class again the advice is executed. I tried running
with -Xmx1500m in the vmargs also. I am running under eclipse 3.1.1 and
AJDT 1.5.
Any suggestions on getting this to work?
Re: ajdt not executing advice when the aspect is included in a large project [message #60164 is a reply to message #59919] Thu, 05 January 2006 11:51 Go to previous message
Matt Chapman is currently offline Matt ChapmanFriend
Messages: 429
Registered: July 2009
Senior Member
On Wed, 28 Dec 2005 19:46:45 +0000, Rob Scott wrote:
> I have a very large Java project and added an aspect to it but the
> advice does not get executed. It appears that the size of the project is
> the cause of the problem because when I delete a major portion of the
> project code and run the same class again the advice is executed. I
> tried running with -Xmx1500m in the vmargs also. I am running under
> eclipse 3.1.1 and AJDT 1.5.
> Any suggestions on getting this to work?

Hi Rob,

When you converted the Java project to an AspectJ project, did it compile
and run okay? When you then added the aspect, did you see advice markers
in the editor or advice relationships in the cross references view, to
indicate where your advice was applying? Does cleaning the project and
rebuilding make any difference? You could also try opening the AspectJ >
AJDT Event Trace view and look at the output there as the project is
built.

Regards,

Matt.
Re: ajdt not executing advice when the aspect is included in a large project [message #591604 is a reply to message #59919] Thu, 05 January 2006 11:51 Go to previous message
Matt Chapman is currently offline Matt ChapmanFriend
Messages: 429
Registered: July 2009
Senior Member
On Wed, 28 Dec 2005 19:46:45 +0000, Rob Scott wrote:
> I have a very large Java project and added an aspect to it but the
> advice does not get executed. It appears that the size of the project is
> the cause of the problem because when I delete a major portion of the
> project code and run the same class again the advice is executed. I
> tried running with -Xmx1500m in the vmargs also. I am running under
> eclipse 3.1.1 and AJDT 1.5.
> Any suggestions on getting this to work?

Hi Rob,

When you converted the Java project to an AspectJ project, did it compile
and run okay? When you then added the aspect, did you see advice markers
in the editor or advice relationships in the cross references view, to
indicate where your advice was applying? Does cleaning the project and
rebuilding make any difference? You could also try opening the AspectJ >
AJDT Event Trace view and look at the output there as the project is
built.

Regards,

Matt.
Previous Topic:Internationalization - any more translations?
Next Topic:How to retrieve method name in a handle clause
Goto Forum:
  


Current Time: Thu Dec 18 08:40:18 GMT 2014

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

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