ajdt not executing advice when the aspect is included in a large project [message #59919] |
Wed, 28 December 2005 14:46  |
Eclipse User |
|
|
|
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 06:51  |
Eclipse User |
|
|
|
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 06:51  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.03992 seconds