On Thursday, February 12, 2015 at 11:25:51 AM UTC+1, Thomas Broyer wrote: > > On Thursday, February 12, 2015 at 2:35:36 AM UTC+1, Ali Akhtar wrote: >> >> I have a maven layout, and the ui.xml file is in src/main/resources, in >> the same package as the Java class. So I don't think that's the case here. >> >> Also the file does get picked up, it just requires an SDM restart to pick >> up some of the changes. >> > > How do you launch SDM? > If you're using the gwt-maven-plugin, it won't include src/main/resources > (or other resource dirs) as resources could be filtered, and/or with > inclusion/exclusion patterns and/or relocation. That means you have to run > "mvn process-resources" to copy the resources to target/classes where > they'll be picked up by GWT. Eclipse should do that automatically on file > save IIRC. >
I had a similar problem with editing my webcomponents' html/css files which along with all other non-GWT files are located in src/main/webapp for my projects. When I tried changing Eclipse's output destination for the webapp sourcedir in the build-path dialog, it would loop and fail and eventually change it back on its own. Perhaps there's a way to configure eclipse properly, but I didn't find it and ended up writing a small C program (for Windows) to detect file-changes anywhere from a root directory and copy them over to the right place and that works like a charm. -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/9d405623-cab3-46d1-8ea3-8ba917145f60%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
