JBoss Community

[m2e WTP] Generated classpath resource file is not deployed on server

created by Nemanja Nedic in JBoss Tools - View the full discussion

Hello all,

 

I have a problem using JRebel with m2e-wtp projects in Eclipse Indigo. I have configured jrebel-maven-plugin in pom.xml of my web application. That plugin will generate rebel.xml file in target/classes folder. The problem is that this file is not deployed on Tomcat when I do a publish or clean operation from "Servers" view. It gets deployed first time its generated, but the next clean of the server will result in deleting of the file on the server and it won't be deployed any more. I guess that the problem is that the content of the rebel.xml file is not changing and WTP is skipping it, even if I regenerate it using Project -> Clean.

 

Any idea how to fix this or is there any workaround?

Reply to this message by going to Community

Start a new discussion in JBoss Tools at Community