Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » ADJT aspectJ does not wave aspects
ADJT aspectJ does not wave aspects [message #37223] Fri, 04 June 2004 11:24 Go to next message
alfonso is currently offline alfonsoFriend
Messages: 4
Registered: July 2009
Junior Member
Hi there,

I have got some strange behaviour of the ADJT, I have a small
"testproject" where I test first my aspects, when I see they work I move
them to the real project where they are used.

But what it happends is that when I move them to the real project (that
has around 50 classes), then I compile the files in order to perform the
waving.

Then afterwards at the "outline view" of the aspect, under the advice
icon, does not appear where the aspect (target classes) crosscuts. Of
course if I run the application the aspect does nothing.


This works fine with the "testproject". I have check the definition files
of both projects. And there is nothing different that makes me suspect.

Anybody got the same problem? Because I have no clue how to solve it.

PS I have done the same test with eclipse 2.1 and the associated versions
of AJDT and aspectJ and it happends the same.
Re: ADJT aspectJ does not wave aspects [message #37257 is a reply to message #37223] Fri, 04 June 2004 11:43 Go to previous message
alfonso is currently offline alfonsoFriend
Messages: 4
Registered: July 2009
Junior Member
Sorry for the waste of space.

I solved the problem, I have created a new "Build configuration file"
using
the wizard and then when I compile the project I select this file.

Then it has worked. It is strange though, because the content of the file
is
the "same" as the default build file. And I did not have to create this
file
in the "testproject".

Is this a bug? I have not read in the ADJT doc that it is mandatory to
create
a "build configuration file"
Alfonso



Alfonso wrote:

> Hi there,

> I have got some strange behaviour of the ADJT, I have a small
> "testproject" where I test first my aspects, when I see they work I move
> them to the real project where they are used.

> But what it happends is that when I move them to the real project (that
> has around 50 classes), then I compile the files in order to perform the
> waving.

> Then afterwards at the "outline view" of the aspect, under the advice
> icon, does not appear where the aspect (target classes) crosscuts. Of
> course if I run the application the aspect does nothing.


> This works fine with the "testproject". I have check the definition files
> of both projects. And there is nothing different that makes me suspect.

> Anybody got the same problem? Because I have no clue how to solve it.

> PS I have done the same test with eclipse 2.1 and the associated versions
> of AJDT and aspectJ and it happends the same.
Re: ADJT aspectJ does not wave aspects [message #580623 is a reply to message #37223] Fri, 04 June 2004 11:43 Go to previous message
alfonso is currently offline alfonsoFriend
Messages: 4
Registered: July 2009
Junior Member
Sorry for the waste of space.

I solved the problem, I have created a new "Build configuration file"
using
the wizard and then when I compile the project I select this file.

Then it has worked. It is strange though, because the content of the file
is
the "same" as the default build file. And I did not have to create this
file
in the "testproject".

Is this a bug? I have not read in the ADJT doc that it is mandatory to
create
a "build configuration file"
Alfonso



Alfonso wrote:

> Hi there,

> I have got some strange behaviour of the ADJT, I have a small
> "testproject" where I test first my aspects, when I see they work I move
> them to the real project where they are used.

> But what it happends is that when I move them to the real project (that
> has around 50 classes), then I compile the files in order to perform the
> waving.

> Then afterwards at the "outline view" of the aspect, under the advice
> icon, does not appear where the aspect (target classes) crosscuts. Of
> course if I run the application the aspect does nothing.


> This works fine with the "testproject". I have check the definition files
> of both projects. And there is nothing different that makes me suspect.

> Anybody got the same problem? Because I have no clue how to solve it.

> PS I have done the same test with eclipse 2.1 and the associated versions
> of AJDT and aspectJ and it happends the same.
Previous Topic:ADJT aspectJ does not wave aspects
Next Topic:aspects files in stacktraces not clickable
Goto Forum:
  


Current Time: Fri Apr 19 23:00:17 GMT 2024

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

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

Back to the top