I’ve been struggling to get Intellij and JRebel to work with a web app that is normally built with Ant. The build is complex, but I finally have it building and running in Intellij (without JRebel).
When I add JRebel, I can see the JRebel messages in the Tomcat console log, everything seems to be working, but when I change a JSP and press “Make Project” I see no changes in the running instance. I’m sure it’s something completely stupid that I’ve done, but I really am out of ideas as to what it could be. I’ve followed the instructions but no dice.
Here’s my rebel.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.zeroturnaround.com" xsi:schemaLocation="http://www.zeroturnaround.com http://www.zeroturnaround.com/alderaan/rebel-2_0.xsd">
<classpath>
<dir name="C:/work/hg/team/appname/mymodule/target/classes">
</dir>
</classpath>
<web>
<link target="/">
<dir name="C:/work/hg/team/appname/mymodule/target/webapp">
</dir>
</link>
</web>
</application>