How do I apply an aspect using AJDT??? [message #594868] |
Thu, 05 October 2006 14:00 |
Eclipse User |
|
|
|
Originally posted by: owencorpening.yahoo.com
I have a helloworld in one package and an aspect in another. I have a
build.bat that builds and runs it, and I get the logging I expect from the
aspect. I do "create project from existing source" in eclipse - and none
of the methods in helloworld are advised .... I honestly can't figure out
how to make them "be advised".
Here is the project:
com.howdy.helloworld.java
com.tracing.HelloAspect.aj
This must be simple ... next I will want to just add an aspect jar and
apply it .... I couldn't figure out how to do any of this from watching
the demo's, which is evidently the only documentation on AJDT.
here is the .bat file in case that matters:
set classpath=%classpath%;.
ajc com\howdy\*.java com\tracing\HelloAspect.aj
java com.howdy.HelloWorld
Thanks,
owen
|
|
|
Powered by
FUDForum. Page generated in 0.05216 seconds