aspect with enterprise application project [message #16933] |
Wed, 05 March 2003 15:29 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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!
|
|
|
|
Powered by
FUDForum. Page generated in 0.02757 seconds