Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » aspect with enterprise application project
aspect with enterprise application project [message #16933] Wed, 05 March 2003 15:29 Go to next message
Eclipse UserFriend
Originally posted by: n_kontny.hotmail.com

I have followed the instructions for the installation of the AspectJ
plugin for eclipse. I can create and AspectJ project and an aspect fine.
However, I have a enterprise application project already and I want to add
an aspect to it. Right now when i just create the aspect in the source
tree of the ear project and do a build it complains that it doesn't know
what an aspect is (syntax error on token aspect).

When I create a seperate AspectJ project, then I can create an aspect and
build the project seperately. But what are the steps to utilize the
plugin and aspects, when using WSAD/Eclipse to build my ear or war project?

Thank you for your help. This aop concept is very exciting!
Re: aspect with enterprise application project [message #16963 is a reply to message #16933] Thu, 06 March 2003 19:06 Go to previous message
Eclipse UserFriend
Originally posted by: n_kontny.hotmail.com

I think I have found the solution. I wasn't aware that I could right
click on my Web project and select "Convert to AspectJ project". Now that
I have done that, I can succesfully create an aspect and build list within
the web project, it builds with the aspectj compiler, and I can publish to
WAS. It intercepts method calls, and seems to work great.



nathan wrote:

> I have followed the instructions for the installation of the AspectJ
> plugin for eclipse. I can create and AspectJ project and an aspect fine.
> However, I have a enterprise application project already and I want to add
> an aspect to it. Right now when i just create the aspect in the source
> tree of the ear project and do a build it complains that it doesn't know
> what an aspect is (syntax error on token aspect).

> When I create a seperate AspectJ project, then I can create an aspect and
> build the project seperately. But what are the steps to utilize the
> plugin and aspects, when using WSAD/Eclipse to build my ear or war project?

> Thank you for your help. This aop concept is very exciting!
Re: aspect with enterprise application project [message #564481 is a reply to message #16933] Thu, 06 March 2003 19:06 Go to previous message
Nathan is currently offline NathanFriend
Messages: 10
Registered: July 2009
Junior Member
I think I have found the solution. I wasn't aware that I could right
click on my Web project and select "Convert to AspectJ project". Now that
I have done that, I can succesfully create an aspect and build list within
the web project, it builds with the aspectj compiler, and I can publish to
WAS. It intercepts method calls, and seems to work great.



nathan wrote:

> I have followed the instructions for the installation of the AspectJ
> plugin for eclipse. I can create and AspectJ project and an aspect fine.
> However, I have a enterprise application project already and I want to add
> an aspect to it. Right now when i just create the aspect in the source
> tree of the ear project and do a build it complains that it doesn't know
> what an aspect is (syntax error on token aspect).

> When I create a seperate AspectJ project, then I can create an aspect and
> build the project seperately. But what are the steps to utilize the
> plugin and aspects, when using WSAD/Eclipse to build my ear or war project?

> Thank you for your help. This aop concept is very exciting!
Previous Topic:aspect with enterprise application project
Next Topic:java.lang.VerifyError (Newbie)
Goto Forum:
  


Current Time: Sat Nov 22 16:55:55 GMT 2014

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

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