-
Jan 23rd, 2012, 07:59 PM
#1
SVN and STS/Eclipse config files in a Grails project directory
In the Grails Cookbook Tutorial "Checking Projects into SVN" (which, by the way, could use some updating), the advice is to check the .project and .classpath STS/Eclipse config files into your project's Subversion repository, along with the rest of your Grails app's files that you want to manage with SVN.
What about the .settings directory that gets created (at least by STS Version: 2.9.0.M1)? Should this directory and it's configuration files be checked in too, or should it be added to the svn ignore list along with the target, target-eclipse, and web-app/WEB-INF directories?
-
Jan 24th, 2012, 10:06 AM
#2
Yes. The .settings folder should be checked in as well. It contains your project-specific Eclipse settings (eg- compiler level, formatter preferences, etc)
-
Jan 24th, 2012, 10:54 AM
#3
That's a big help, thanks. Is there anything else that should be on the svn ignore list, other than the three folders mentioned above?
Michael
-
Jan 24th, 2012, 11:01 AM
#4
In general, you can ignore those files and directories that are automatically (re-)generated, such as class files and target folders.
It looks like you should be ignoring web-app/WEB-INF/classes (not web-app/WEB-INF) and I don't even know if that directory is still being used by grails.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules