I set my project up so that gwt will build to src/main/webapp, but I
also check in src/main/webapp to subversion. index.html, web.xml,
etc. When I run the project in eclipse, the build process or google
plugin will delete all the .svn directories. I have tried one
suggested solution where I add .svn/ to filtered resources in
preferences -> java/compiler/building and uncheck scrub output
folders.
So far this hasn't worked. Anyone have a suggestion?
Thanks,
Dave
I should say, it will delete all .svn directories in the
src/main/webapp tree. So it will delete:
src/main/webapp/.svn/
src/main/webapp/WEB-INF/.svn/
and so on.
This is a maven project, and I use m2eclipse. Not sure if this is
related. When I run the maven build from the command line, it leaves
the .svn directories in src/main/webapp intact.
Thanks,
Dave
Actually, I think I found it. I had to make sure project properties
-> google -> web application " launch and deploy from this directory"
was checked.
See attached.
> --
> You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
> To post to this group, send email to google-we...@googlegroups.com.
> To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
> 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
> 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?
>
Sorry, can't help here, since I have not seen this problem in my
projects (which are also store in svn.
> Thank you for the help and the quick response.
>
You're welcome.
Greetings,
Michael
Michael