Cross Project reference [message #63053] |
Tue, 21 March 2006 14:34 |
Eclipse User |
|
|
|
Originally posted by: satish.subramaniam.rediffmail.com
Some clarifactions required using aspectJ and AJDT.
Assume that I two projects:
Project A - AspectJ project that contains only the aspects.
Project B - Is a normal java project.
While writing the aspects in proj.A, my aspects will need to make some
references to project B java files E.g: Load some configuration. How can
this be achieved? I tried by adding the project B to the java build path
(under projects) of the aspectJ project A. Now i can access the classes of
project B in the aspect, but when i run my main class using the aspect-J
load time weaving option - my aspects don't get invoked. My main class
that i run is in the java project B. how can this be achieved ?
|
|
|
|
|
Re: Cross Project reference [message #63192 is a reply to message #63169] |
Thu, 30 March 2006 07:56 |
Eclipse User |
|
|
|
Originally posted by: hawkinsh.uk.ibm.com
The "LTW Aspectpath" tab is in the run configuration for an "AspectJ
Load-Time weaving application". So, you need to do run > run as and select
the aspectj load-time weaving application configuration to run your
program.
|
|
|
|
|
|
|
Re: Cross Project reference [message #592716 is a reply to message #63169] |
Thu, 30 March 2006 07:56 |
Eclipse User |
|
|
|
Originally posted by: hawkinsh.uk.ibm.com
The "LTW Aspectpath" tab is in the run configuration for an "AspectJ
Load-Time weaving application". So, you need to do run > run as and select
the aspectj load-time weaving application configuration to run your
program.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04031 seconds