Re: [aspectwerkz-user] proxying problem

Alexandre Vasseur <[email protected]> Mon, 1 Aug 2005 08:34:05 +0200
Newsgroups gmane.comp.java.aspectwerkz.user
Message-ID <[email protected]>
Hi

(Please subscribe to the list Colin, I had to moderate your post so
that it gets distributed to the list).

I can' t see what is wrong.
java -javaagent:pathto/aspectwerkz-nodeps-jdk5-2.0.jar    should indeed be fine
Perhaps a -verbose:class can help

Some note though: if you are planning to use proxy, you don't need
this option unless you wnat to use proxy AND regular weaving.
For proxy use, just have this jar in your classpath, and get a proxy
using the AspectWerkz Proxy API, with an aop.xml in your classpath for
the aspects to use.

Alex



On 7/31/05, Colin Taylor <[email protected]> wrote:
> Hi there, I'm having some issues trying out the proxying capabilites
> of Aspectwerkz.
> Namely I get a  message :
> 
> AspectWerkz - WARN - Pre-processor class
> 'org.codehaus.aspectwerkz.transform.AspectWerkzPreProcessor' not found
> 
> Im using jdk1.5  and have -javaagent:lib/aspectwerkz-nodeps-jdk5-2.0 and
> aspectwerkz-nodeps-jdk5-2.0.jar on the classpath.. so I'm very
> confused as to whats wrong.
> Have I missed something?
> 
> thanks in advance
> Colin.
>