Are you using GWT in an Eclipse Web project? If so you must *closely* follow the directions here:
http://code.google.com/eclipse/docs/faq.html#gwt_in_eclipse_for_java_ee This means you must: *Turn off the "deploy from this directory" option *Point the -war directory for your devmode to the *temporary* server directory used by eclipse. Then when you compile Eclipse will ask you where your real war directory is and compile into it. If you use your "real" war directory with the plugin in a web project, any time you start GWT devmode your war directory will be cleared and gwt plugin will recreate it without hidden directories like the .svn. I had the same issue and solved it by pointing the devmode war directory as stated in the faq linked above. Also be careful that the -war option for devmode will be resetted when you upgrade your plugin, so you'll have to correct it by hand. Hope this can be helpful. Regards Lorenzo On Aug 4, 10:47 am, Eugen Paraschiv <[email protected]> wrote: > Something like that, yes. > Where should the '-war <foldername>' be specified? > I do indeed have it active on my run configurations, but the actual Eclipse > builder that's running in the background is the one that is likely > responsible with the removal of the svn dirs. I also have the war directory > correctly specified in the properties of the project, under Google - Web > Application, but when configuring a new Eclipse workspace, that option may > very well be configured minutes later, when the Eclipse builder may already > have removed the svn directories (which is what just happened to me). What > I'm not clear about is what does the plugin have to do with the svn > directories? Why does it touch these directories in the first place? > Thank you for the help and the quick response. > Eugen. > > On Thu, Aug 4, 2011 at 11:31 AM, Michael Vogt <[email protected]>wrote: > > > > > > > > > Hello > > > > This is a critical problem - the plugin simply removes the .svn > > directories, > > > completely messing up the entire workspace - everything below webapp is > > now > > > unversioned and shown to be committed. Is there any feedback on this? > > > Do you mean that when you compile your application, everything inside > > the module folder is replaced? We solve this with the additional > > compiler argument '-war <foldername>'. That way the compiled files are > > saved in the specified folder. > > > Hope I understood you correctly, > > Michael > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Web Toolkit" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group at > >http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
