Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » Load-time weaving and java -jar(Not apply with -jar)
Load-time weaving and java -jar [message #1390948] Mon, 30 June 2014 08:05 Go to next message
Philippe PRADOS is currently offline Philippe PRADOSFriend
Messages: 1
Registered: June 2014
Junior Member
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 14:20 Go to previous message
Andrew Eisenberg is currently offline Andrew EisenbergFriend
Messages: 382
Registered: July 2009
Senior Member
Please ask the aspectj-users mailing list.
Previous Topic:Aspects in another jars
Next Topic:Referencing Aspetj Based Jar
Goto Forum:

Current Time: Wed Feb 26 21:02:04 GMT 2020

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

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

Back to the top