My current development workflow is as follows:
another team provides a .war file containing a skeleton web application
I explode the web application (using Maven, FWIW) and set up a web project on top of it
I develop something useful in a parallel directory
An ANT process copies my files on top of the skeleton web application
I use MyEclipse to deploy the application to my app servers for development and testing
When I am done, I repackage the .war file and pass it on to the next group
Under normal circumstances this process works fine, but now I’m running into problems. The other team has started putting a number of files into the WEB-INF/classes directory of the web application. These files are summarily deleted by MyEclipse because WEB-INF/classes is treated as an output directory. It appears that my only workaround is to copy these files into a source directory (before MyEclipse has a chance to delete them) so that they are automatically copied back to where they belong, but it is error prone (and frankly lame) to have to do this.
Is there any way to disable this automatic cleaning process so that I do not have to deal with this problem?