Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] Urgent - Help Load time weaving not working withaspectj-1.5.0M3.jar

Changing the command line switch (replacing -Djavaagent with -javaagent)
did the trick.

Also I had the META-INF\aop.xml in the aspects.jar file which was in the
classpath. So I also removed the redundant META-INF\aop.xml entry in the
classpath.

Thanks everyone.

Seshu Kumar Adiraju
Technical Architect
SETLabs
Infosys Technologies Limited

-----Original Message-----
From: aspectj-users-bounces@xxxxxxxxxxx
[mailto:aspectj-users-bounces@xxxxxxxxxxx] On Behalf Of Stephan Kolp
Sent: Monday, August 29, 2005 5:46 PM
To: aspectj-users@xxxxxxxxxxx
Subject: Re: [aspectj-users] Urgent - Help Load time weaving not working
withaspectj-1.5.0M3.jar

Hi,

I think you use a wrong command line switch. Don't use -D to choose the
javaagent. Try "-javaagent:ASPECTJ_LIBDIR/aspectjweaver.jar" instead,
where ASPECTJ_LIBDIR is the directory that contains the
aspectjweaver.jar

Stephan

Seshukumar Venkata Adiraju schrieb:
>                  I have modified this to invoke agent as follows,
>
> java -Daj.weaving.verbose=true   -Djavaagent:aspectjweaver.jar
>  -Djava.ext.dirs=./plugins/resources -Xms32m -Xmx256m -Xss600k
> -classpath %WORKBENCHPATH% multiuser.client.ui.FrameLogin
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***


Back to the top