Page 1 of 1

JRebel from Licence URL

Posted: Thu Dec 11, 2014 6:11 am
by g.zalys
Hi All,

I am trying to make JRebel work with Broadleaf, i dont have a JAR as my licence is actually stored by third party and i only have licence URL this is how i managed to activate JRebel.
However to make Broadleaf compile using JRebel it is requesting me to provide a path to my jar in the properties file which i dont have.

I currently have JRebel 6.0.1 installed via eclipse -> market place
I have used licence URL to activate my JRebel licence.

Any advice will be appreciated

Many Thanks
Ged

Re: JRebel from Licence URL

Posted: Thu Dec 11, 2014 11:28 am
by phillipuniverse
Ged,

Jrebel requires you to have a local jar, there is no other way to instrument your classes without assigning a -javaagent in your JVM. I believe the JRebel official instructions assume that you are running the Tomcat server through Eclipse. The Getting Started instructions run Broadleaf just like an external server outside of the Eclipse Servers view.

You can get the configuration from the JRebel Eclipse plugin by following the instructions here: http://manuals.zeroturnaround.com/jrebe ... -arguments. The value that you put in 'jrebel.path' is the value in the -javaagent command line argument from that screenshot. It looks like there are other JVM parameters that you need based on that screenshot; you can add them to the ant script in build.xml as additional <jvmarg> elements.