puniverse/pulsar

Packaging up the project in a runnable jar

zcaudate opened this issue · 4 comments

I'm just curious if I package ups project that is using quasar, do I need to invoke it with the -javaagent option ?

pron commented

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?

pron commented

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.