I am working on a Spring webapp which I run locally through Tomcat 7. I am working on my project using Eclipse and I use JRebel to apply any changes I make in real time. When I start Tomcat, I get a prompt asking me if I would like to launch the application with a JRebel agent, at which point I say yes and Tomcat launches successfully with JRebel monitoring my changes.
There is also the option to not be asked again in this prompt, and (I may be wrong in assuming this) I thought it would remember my choice to launch with the agent. It doesn't however and proceeds to start without JRebel starting up next time I launch tomcat, if I have checked that option.
My question is is there any way to automatically launch the agent when Tomcat starts (if any of the projects have a JRebel nature of course)?
I am using JRebel 5.3.1.