Skip to main content



      Home
Home » Language IDEs » AspectJ » Load-time weaving and java -jar(Not apply with -jar)
Load-time weaving and java -jar [message #1390948] Mon, 30 June 2014 04:05 Go to next message
Eclipse UserFriend
Is it possible to add the aspectj load-time agent when start a program with -jar ?

With Jetty, if I start

java -javaagent:aspectjweaver-1.8.0.jar -classpath toto.jar -jar start.jar
The aspectj is not apply. But I if call

java -javaagent:aspectjweaver-1.8.0.jar -classpath toto.jar;start.jar org.eclipse.jetty.start.Main
all was fine.
Re: Load-time weaving and java -jar [message #1391156 is a reply to message #1390948] Mon, 30 June 2014 10:20 Go to previous message
Eclipse UserFriend
Please ask the aspectj-users mailing list.
Previous Topic:Aspects in another jars
Next Topic:Referencing Aspetj Based Jar
Goto Forum:
  


Current Time: Sat May 17 06:22:03 EDT 2025

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

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

Back to the top