

It is stored in the file ~/.jrebel/jrebel.properties If there's no JRebel plugin for your IDE, you can also edit the JRebel configuration manually. You can also disable other plugins you do not need.
Jrebel licenses code#
Thus you will not be able to set a breakpoint on that code and the stepping behaviour is impaired when you hit code the debugger is not yet familiar with. If you use JRebel in debug mode without it, then after you add some changes to your code, the debugger will get confused because it doesn't expect the new methods to appear. If you are an Eclipse user and want to debug your project while running JRebel at the same time, then you should consider installing the JRebel Eclipse Plugin. Debugging in Eclipse while running JRebel at the same time That way you can work with JRebel without having to use a command line tool. Instead of using a standalone installation of JRebel you can use the JRebel Plugin for the IDE of your choice. The javagent property can also be set directly from the command line without changing the project or settings.xml. For instance: mvn n -Djavaagent=-agentpath:/home/user/jrebel/lib/libjrebel64.dylib IDE plugin To run Cargo with JRebel enabled using the profile defined above, use the following command to run your project: mvn -P n -Djrebel The JRebel profile can be explicitly de-activated by running the Maven command with -P !jrebel. Otherwise rebel.xml files will be packaged with the wars of your distribution. Note: When you are ready to create a project distribution, be sure you have a clean build without the JRebel profile activated. Open cms/target/classes/rebel.xml and site/target/classes/rebel.xml to see how JRebel is configured. JRebel descriptors for both CMS and site are generated, which means that class files and resources from either project are configured to be monitored for changes. To generate the JRebel descriptors, build your project using the following command: mvn verify -Djrebel This profile is activated by specifying the property jrebel. The Bloomreach Experience Manager Project POM provides a profile dedicated to generating and enabling JRebel while building and running a Bloomreach Experience Manager project. agentpath:/home/user/jrebel/lib/libjrebel64.dylib To use the JRebel Agent when running the project locally with Cargo, set the javaagent property in your ~/.m2/settings.xml Maven configuration settings or project.

After downloading and unpacking, configure the JRebel Agent according to the settings found in the JRebel documentation. If you want to speed up this development cycle, then JRebel is a great tool to make that happen. Please refer to the documentation of the third-party development tool for the latest installation, configuration, and usage instructions.īuilding your web application and redeploying it every time you want to see the effects of the changes you made to your project's source code can be a time consuming process.

Bloomreach cannot guarantee this documentation is up to date with the latest release of the third-party development tool. PS - on a positive note, they don't cold call spam me anymore (even when I didn't have a license, it seemed they had stopped that sort of behavior).This documentation describes the use of a third-party development tool and is maintained by Bloomreach on a best-effort basis. But when I find rebuilding and deploying to be more desirable than using JRebel sometimes (and I have a license), that can give you an idea of the headaches involved. I don't know of a good alternative, however. There's a VERY not zero cost to setting up JRebel and the last time I set it up I had crazy headaches getting some of the stuff to work properly. And for some customers I'm sure $500 is worth it (like if you have a simple Java application(s) that you are constantly editing).īut if you're like me and you work across a number of platforms and have a (probably too) complex project that you work on, it gets sketchy at that price. They do all this fuzzy math around "saving time", but honestly, if I had to tally all the JRebel bug time I've spent it would paint a different picture of the product. It's not rock solid enough to be worth that kind of money. Honestly, I too have grown annoyed at their prices.
