Grails Applications and Version Control

What directories / files should be excluded when hosting the Grails application under version control? I do not want the source files or artifacts to be executed in the source SVN file.

+7
version-control svn grails groovy
source share
3 answers

here is my .gitignore (it probably contains a lot of garbage)

.idea/ stacktrace.log test/reports/ etc/errors.txt bin-groovy/ .classpath .project *.war web-app/plugins/ web-app/resources/ classes/ test/reports/ 

Please note that this is for grails 1.1.1. (I think, prior to grails 1.1, plugins were saved in /plugins instead of web-app/plugins .

+6
source share

At Grails.org, specific instructions are validated for your project in SVN.

+5
source share

You must exclude the "test / reports" directory in the root folder. It is also useful to exclude "stacktrace.log".

If you use JS libraries, you can think about eliminating them and write a little script to get the latest version of the fix. Modern JS libraries can be very large, and it is not very useful to clutter up your VCS with old versions of your frameworks. An exception is the transition to a new major version of the library or tag. In this case, you must definitely keep the old version.

0
source share

All Articles