Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » Re: Why is my AspectJ source file being compiled (and failing)?
Re: Why is my AspectJ source file being compiled (and failing)? [message #18996] Tue, 08 April 2003 12:20 Go to next message
Eclipse UserFriend
Originally posted by: clemas.hursley.ibm.com

My newsgroup reader is playing up - I saw the news article I'm referencing
first thing this morning, now it has disappeared. I can vaguely remember
what it said ... so let me try and reply with an answer.

When a project in eclipse has the AspectJ nature it has a new builder, the
aspectj builder. The aspectj builder replaces the normal java builder.
If you think you are having problems with a project having the wrong
nature (and so possibly using the wrong compiler), you should right click
your project, select "Remove AspectJ Nature" and then right click your
project again and select "Add AspectJ Nature". Now retry the compilation.

does that help?

cheers,
Andy

Andrew Clement
AJDT Development
Re: Why is my AspectJ source file being compiled (and failing)? [message #19017 is a reply to message #18996] Wed, 09 April 2003 05:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: john.cocula.com

Thanks for the reply, Andy. I poked and poked at it, and eventually it
fell into line. I suspect that I toggled the file's nature, and then
all was right with the world.

Now, let me toss out another question (no good deed goes unpunished):

I have seen references to the hypothesis that AOP in general, and
AspectJ in particular, can separate out the concern of *logging* (not
tracing) in large systems. In fact, an excellent Xerox PARC
presentation referenced Tomcat's extremely messy logging as a target for
AOP.

But I have yet to find a detailed treatment of how logging could be
cleanly separated with AOP or AspectJ. Does anyone have any concrete
references?

Many thanks for your help.

Regards,
John



Andy Clement wrote:

> My newsgroup reader is playing up - I saw the news article I'm referencing
> first thing this morning, now it has disappeared. I can vaguely remember
> what it said ... so let me try and reply with an answer.
>
> When a project in eclipse has the AspectJ nature it has a new builder, the
> aspectj builder. The aspectj builder replaces the normal java builder.
> If you think you are having problems with a project having the wrong
> nature (and so possibly using the wrong compiler), you should right click
> your project, select "Remove AspectJ Nature" and then right click your
> project again and select "Add AspectJ Nature". Now retry the compilation.
>
> does that help?
>
> cheers,
> Andy
>
> Andrew Clement
> AJDT Development
>
Re: Why is my AspectJ source file being compiled (and failing)? [message #19037 is a reply to message #19017] Thu, 10 April 2003 07:12 Go to previous message
Eclipse UserFriend
Originally posted by: clemas.hursley.ibm.com

Hi John,

I\'m glad your system is now working. With respect to that tomcat logging
thing - I know the graphic you mean, I use it in most of my AOP
presentations :)

But I\'m afraid I can\'t immediately think where you would find the
references you need (I assume you\'ve tried a searhing round
http://aosd.net?) - however, you might want to join the aspectj user
mailing list and try making your request there, that list has quite a
large following (compared to this newsgroup), you can join it by going to
http://eclipse.org/aspectj, click \'User Resources\' on the left hand side
and then select \'aspectj-users\' in the main page.

sorry I can\'t be more help,

Andy

Andrew Clement
AJDT Development


John W. Cocula wrote:

> Thanks for the reply, Andy. I poked and poked at it, and eventually it
> fell into line. I suspect that I toggled the file\'s nature, and then
> all was right with the world.

> Now, let me toss out another question (no good deed goes unpunished):

> I have seen references to the hypothesis that AOP in general, and
> AspectJ in particular, can separate out the concern of *logging* (not
> tracing) in large systems. In fact, an excellent Xerox PARC
> presentation referenced Tomcat\'s extremely messy logging as a target for
> AOP.

> But I have yet to find a detailed treatment of how logging could be
> cleanly separated with AOP or AspectJ. Does anyone have any concrete
> references?

> Many thanks for your help.

> Regards,
> John
Re: Why is my AspectJ source file being compiled (and failing)? [message #565441 is a reply to message #18996] Wed, 09 April 2003 05:31 Go to previous message
john is currently offline johnFriend
Messages: 27
Registered: July 2009
Junior Member
Thanks for the reply, Andy. I poked and poked at it, and eventually it
fell into line. I suspect that I toggled the file's nature, and then
all was right with the world.

Now, let me toss out another question (no good deed goes unpunished):

I have seen references to the hypothesis that AOP in general, and
AspectJ in particular, can separate out the concern of *logging* (not
tracing) in large systems. In fact, an excellent Xerox PARC
presentation referenced Tomcat's extremely messy logging as a target for
AOP.

But I have yet to find a detailed treatment of how logging could be
cleanly separated with AOP or AspectJ. Does anyone have any concrete
references?

Many thanks for your help.

Regards,
John



Andy Clement wrote:

> My newsgroup reader is playing up - I saw the news article I'm referencing
> first thing this morning, now it has disappeared. I can vaguely remember
> what it said ... so let me try and reply with an answer.
>
> When a project in eclipse has the AspectJ nature it has a new builder, the
> aspectj builder. The aspectj builder replaces the normal java builder.
> If you think you are having problems with a project having the wrong
> nature (and so possibly using the wrong compiler), you should right click
> your project, select "Remove AspectJ Nature" and then right click your
> project again and select "Add AspectJ Nature". Now retry the compilation.
>
> does that help?
>
> cheers,
> Andy
>
> Andrew Clement
> AJDT Development
>
Re: Why is my AspectJ source file being compiled (and failing)? [message #565467 is a reply to message #19017] Thu, 10 April 2003 07:12 Go to previous message
Andrew Clement is currently offline Andrew ClementFriend
Messages: 162
Registered: July 2009
Senior Member
Hi John,

I\'m glad your system is now working. With respect to that tomcat logging
thing - I know the graphic you mean, I use it in most of my AOP
presentations :)

But I\'m afraid I can\'t immediately think where you would find the
references you need (I assume you\'ve tried a searhing round
http://aosd.net?) - however, you might want to join the aspectj user
mailing list and try making your request there, that list has quite a
large following (compared to this newsgroup), you can join it by going to
http://eclipse.org/aspectj, click \'User Resources\' on the left hand side
and then select \'aspectj-users\' in the main page.

sorry I can\'t be more help,

Andy

Andrew Clement
AJDT Development


John W. Cocula wrote:

> Thanks for the reply, Andy. I poked and poked at it, and eventually it
> fell into line. I suspect that I toggled the file\'s nature, and then
> all was right with the world.

> Now, let me toss out another question (no good deed goes unpunished):

> I have seen references to the hypothesis that AOP in general, and
> AspectJ in particular, can separate out the concern of *logging* (not
> tracing) in large systems. In fact, an excellent Xerox PARC
> presentation referenced Tomcat\'s extremely messy logging as a target for
> AOP.

> But I have yet to find a detailed treatment of how logging could be
> cleanly separated with AOP or AspectJ. Does anyone have any concrete
> references?

> Many thanks for your help.

> Regards,
> John
Previous Topic:Re: Why is my AspectJ source file being compiled (and failing)?
Next Topic:Help with AJDT
Goto Forum:
  


Current Time: Thu Apr 25 22:00:24 GMT 2024

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

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

Back to the top