I have manually configured my org.eclipse.wst.common.component to deploy my web-app via Eclipse WTP from my project’s target directory (so my deployment includes the result of JSP pre-compilation).
But now every time I run an “mvn clean” build (command-line or in M2Eclipse, the file reverts to a previous state. Anyone know why this might be happening?
Thanks
OK, got it. My settings/org.eclipse.wst.common.component had looked like this:
Every time I deleted the target/dss-sample-webapp directory (like with a ‘mvn clean’ build), the corresponding line in the file automatically disappeared:
Removing the leading ‘/’ fixed the problem. I could delete the target directory to my heart’s content, and the settings/org.eclipse.wst.common.component file would be unaffected.
So, the fully functioning settings/org.eclipse.wst.common.component is as follows: