I am trying to use JRebel and having problem while publishing the files like xhtml under src/main/webapp folder. I can do hot replacement of classes, it is working.
I am using Eclipse Helios, Tomcat 7 and JRebel Eclipse plug-in. Also i am using WTP.
I checked the tmp0\wtpwebapps\myapp-web directory. rebel.xml exists at WEB-INF/classes folder. So it should be ok.
Here is my rebel.xml
<classpath>
<dir name="C:/Users/user/workspace/myapp/myapp-web/target/test-classes">
</dir>
<dir name="C:/Users/user/workspace/myapp/myapp-web/target/classes">
</dir>
</classpath>
<web>
<link target="/">
<dir name="C:/Users/user/workspace/myapp/myapp-web/src/main/webapp">
</dir>
</link>
</web>
I tried a lot but could not understand why JRebel does not hot deploy webapp folder. I could not find anything useful at jrebel.log file.