Can I use JRebel to speed up development?

Apache NetBeans Wiki Index

Note: These pages are being reviewed.

Yes, you can. Once you have obtained JRebel and installed it locally, paste the following snippet into your application’s root pom (parent of both the NetBeans application project and any NetBeans module projects you want to have reloaded upon change).


                                <!-- only works if additionalArguments not defined in the application's pom -->

You will have to edit the path to your jrebel.jar you have locally. if multiple people are going to work on the project use an expression and define the path property in your settings.xml file.

Please note that any layer or manifest registrations are not likely to be reloaded as JRebel doesn’t have any special knowledge about NetBeans internals.

The solution was tested with nbm-maven-plugin 3.8 and JRebel 5.0.1