Hello there. I’m hoping someone might be able to help troubleshoot an auto-deploy problem.
I have a simple Web Project set up in Eclipse 3.2 with MyEclipse 5.0 M2. The project uses a typical Maven project layout with various configuration files in src/main/resources. Because these files contain filter tokens that need to be replaced when the application is built, I’ve set up an External Tool in Eclipse to execute the Maven “resources:resources” target. This copies the configuration files to the webapp directory (src/main/webapp/WEB-INF/classes) and replaces the tokens.
The problem is that after executing the External Tool, the updated files aren’t being deployed to the app server (Resin 3.0.19). If I right-click on the project and select “Refresh” the files will be deployed. However, it doesn’t seem like this should be necessary since I have the External Tool set up to refresh all resources after completion.
I’d appreciate any help getting the External Tool to correctly refresh the resources to trigger the auto-deploy.
Thanks,
Erik