1 Reply Latest reply on Sep 11, 2011 1:36 PM by fbricon

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

    netke

      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?