Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » How do I apply an aspect using AJDT???
How do I apply an aspect using AJDT??? [message #594868] Thu, 05 October 2006 14:00
Eclipse UserFriend
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
Previous Topic:Buildconfig package
Next Topic:How do I apply an aspect using AJDT???
Goto Forum:
  


Current Time: Fri Apr 26 08:03:09 GMT 2024

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

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

Back to the top