Can I use both AspectJ and Salve?

3 views
Skip to first unread message

hbf

unread,
Jun 13, 2009, 3:10:47 PM6/13/09
to Salve
Hi,

Some parts of my project use AspectJ and for this I launch the VM with

-javaagent:${M2_HOME}/org/springframework/spring-agent/2.5.6/spring-
agent-2.5.6.jar

and have

<context:load-time-weaver />

in my Spring application context.

Can I use Salve together with AspectJ (meaning, in the same project)?
Is there a particular order I must adhere to when adding the
javaagents to the command line?

-javaagent:${M2_HOME}/org/springframework/spring-agent/2.5.6/spring-
agent-2.5.6.jar -javaagent:~/.m2/repository/salve/salve-agent/1.0/
salve-agent-1.0.jar

This isn't explicitly mentioned anywhere, so I thought I'd ask.

And: thanks a lot for providing Salve. I have just read the WhySalve
page and that all is very useful!

Many thanks,
Kaspar

Igor Vaynberg

unread,
Jun 13, 2009, 5:43:46 PM6/13/09
to salve...@googlegroups.com
i dont see why you wouldnt be able to use them together. i also dont
think the order matters.

-igor

hbf

unread,
Jun 17, 2009, 4:16:01 AM6/17/09
to Salve
Thanks a lot for the clarification.
Kaspar
Reply all
Reply to author
Forward
0 new messages