I'm encountering an issue with the automatic component reloading in T5 when used with Eclipse. It's really making it difficult to fully take advantage of this great feature. It seems to occur consistently when editing any non-Java file that's on the build path. Sometimes it takes saving the file a few times, yet it almost always happens after enough tries (5 or 10 at most). I get this error:
The project was not built due to "Could not delete: C:\tapestry\workspace\myapp\bin\org\example\myapp\components\Border.html .". Fix the problem, then try refreshing this project and building it since it may be inconsistent I've tried a few different workstations and in this case a clean environment using the tapestry-simple as a starting point. I'm using Windows XP, Java 1.5.0_11, Jetty 5.1.12, and Eclipse 3.2.2 with JettyLauncher 1.4.1. I of course have "Build Automatically" enabled so I can see changes after I save. It appears that T5 is holding a lock on a file that Eclipse wants to overwrite (as it should be for T5 to see the change). Once this happens, I have to stop Jetty and clean the project to be able to continue development. The only workaround at the moment seems to be to store non-Java files in the WEB-INF directory. Is this a known issue? If so, is there a planned fix or alternate workaround? If not, I can enter a Jira issue. -Matt