Announcement Announcement Module
Collapse
No announcement yet.
SVN and STS/Eclipse config files in a Grails project directory Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

  • #2
    Yes. The .settings folder should be checked in as well. It contains your project-specific Eclipse settings (eg- compiler level, formatter preferences, etc)

    Comment


    • #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

      Comment


      • #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.

        Comment

        Working...
        X