Yes, use the "-inpath" option for ajc to specify the jars you want to "weave". Here's a good blog on the different path options.

http://www.aspectprogrammer.org/blogs/adrian/2004/10/ three_paths_sta.html

dean

On May 21, 2007, at 6:05 AM, Anirudh Chandrakant wrote:

Hi,

I am a new entrant into the aspectJ world and i am enjoying the ride so far.
I have used aspectJ with an existing project and it works as desired.

Now, if i have a Java project but i do not have the source files (i only have the jar), can i still use aspectJ? (I know the signatures of all the methods that i want to insert my pointcuts into)

The demo shows conversion of a normal project into an aspectJ project (in a step similar to instrumentation), i was wondering if this was possible with packaged classes.

Thanks in advance,
Anirudh
_______________________________________________
aspectj-users mailing list
aspectj-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Dean Wampler, Ph.D.
dean at objectmentor.com
http://www.objectmentor.com
http://www.aspectprogramming.com
http://www.contract4j.org

I want my tombstone to say:
  Unknown Application Error in Dean Wampler.exe.
  Application Terminated.
      [Okay]        [Cancel]



_______________________________________________
aspectj-users mailing list
aspectj-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to