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 08:20  |
Eclipse User |
|
|
|
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 01:31   |
Eclipse User |
|
|
|
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 03:12  |
Eclipse User |
|
|
|
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 01:31  |
Eclipse User |
|
|
|
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 03:12  |
Eclipse User |
|
|
|
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
|
|
|
Goto Forum:
Current Time: Mon May 12 00:38:22 EDT 2025
Powered by FUDForum. Page generated in 0.03485 seconds
|