How do I get MyEclipse to copy modified files over when I do a save so that I can dynamically reload pages during development?
When you deploy only a WAR to WebSphere, it creates an EAR behind the scenes and wraps it for you. If you don’t create your own EAR, the deployment layout in the applications area for your WAR looks like an exploded WAR in the auto-generated EAR, which is not what MyEclipse expects for a simple Web project. That’s why we suggest you create your own “wrapper” EAR project; so the deployment layouts will match.
Here’s what will likely work around the issue if you don’t want to create an EAR: Create a Custom Deployment (in addition to your existing WebSphere 6.1 deployment) for the Web project. With a Custom Deployment, you can set it to deploy the project, in exploded format, anywhere on your file system. You’ll want to pick the location so that the deployment location for the Custom Deployment of your Web Project will exactly overlap with the exploded war the WebSphere creates in its “installed applications” cache area. After you do this, when you save you modify files in MyEclipse in your Web Project, our Sync-On-Demand deployer will keep the Custom Deployment sychronized, thereby overwriting what’s in WebSphere’s cache. I hope that makes some sense. It’s basically the same technique described in the WebSphere 6.1 tutorial, but just with a Web Project instead of an EAR.