Closed zcaudate closed 10 years ago
Yes, or you can use Capsule which is a runnable JAR on steroids (allows you to describe all the JVM options -- including a javaagent -- and much, much more, directly within the JAR).
Alternatively, you can instrument the classes at build time (works for Java but not for Clojure).
Thanks @pron.. is there an example project (ie. simple ring server) that uses capsule that I can use as a template?
Yes, Here. But in any case, I would suggest at least skimming through Capsule's README, so you'd know what's going on. The example projects includes several ways of packaging a capsule, and you only need to choose one.
thanks mate... will give it a go.
I'm just curious if I package ups project that is using quasar, do I need to invoke it with the -javaagent option ?