Why a page dedicated to adding Grails projects to source control? Because you want to make sure that only realy source files rather than generated ones are added to the repository. There's nothing more annoying than being told by your SCM tool that such and such a file has been changed locally simply because it has been regenerated.
The key to successful use of source control with Grails is to make sure your SCM tool ignores the right files. Grails is pretty configurable, so this can depend on the project. But for a default Grails project you should ensure these files and directories are included in any ignore list:
- target/
- web-app/plugins/
- web-app/WEB-INF/classes/ - common if you use Eclipse or STS
A collection of articles and resources of interest to the modern software developer
Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do.
-- Steve Jobs
Tuesday, September 13, 2011
Grails - Checking Projects into SVN | grails.org
Grails - Checking Projects into SVN
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment