Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] aspectJ with packaged classes

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.


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

Dean Wampler, Ph.D.
dean at objectmentor.com

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




Back to the top