Grails and .gitigore
*.iws *Db.properties *Db.script .settings .link_to_grails_plugins stacktrace.log /*.zip /plugin.xml /*.log /*DB.* /cobertura.ser .DS_Store /target/ /out/ /web-app/plugins /web-app/WEB-INF/classes#
I am currently using STS from springsource as my IDE. The only to items i cannot figure out are the “.classpath” file and the “target-eclipse” directory. Should I place these two items in the .gitignore file too?
Perhaps someone can help my out with this…
2 Solutions collect form web for “Grails and .gitigore”
“target-eclipse” and “target”(if you’re running from console) should be ignored. It’s where the compiled classes sit.
I’d also recommend ignoring ‘.classpath’ since you can generate it using
grails integrate-with --eclipse but it’s a big discussion whether you should or not
Check out Grails.gitignore, part of a collection of lots of gitignore files for various environments.