|
JRebel
JRebel Extension
Extension IntroductionThis is a simple extension to Morphia to make classes being re-mapped to morphia, once they are reloaded by JRebel. PrerequisitsOf course you need to run JRebel (http://zeroturnaround.com) for this extension to be useful. On top of that, you need to tell JRebel about the Plugin. In order to do that, add the following two new Elements to the VM startup command: -Drebel.morphia=true -Drebel.plugins=/path/to/morphia-jrebel-plug-1.0-SNAPSHOT.jar If you´re using Eclipse with the JRebel Plugin this can be skipped and instead configured in the Agent Settings GUI.
UsingRegister the Extension to your Morphia instance new JRebelExtension(morphia); DependenciesMaven
<dependency> <groupId>com.google.code.morphia</groupId> <artifactId>morphia-jrebel-plug</artifactId> <version>1.0-SNAPSHOT</version> </dependency> | |
► Sign in to add a comment
I wonder, why jrebel extension /src/ directory is empty, no any class present there to build and try Jrebel ext plugin?