Which directories/files should be excluded when placing a Grails application under version control? I don't want non-source files or artifacts to be carried in SVN for my project.
Grails is Java and Groovy framework used when developing agile web applications. Grails implements the MVCS (Model, View, and Controller) design pattern. Grails is superb because it allows developers to concentrate more on actual application requirements and spend less time configuring the framework.
In the question“What are the best web frameworks to create a web REST API?” Spring-boot is ranked 2nd while Grails is ranked 29th. The most important reason people chose Spring-boot is: Boot is just a thin configuration layer over Spring Framework, as such it inherits all the strengths of Spring.
In this tutorial, we'll learn how to create a simple web application using Grails. Grails (more precisely it's latest major version) is a framework built on top of the Spring Boot project and uses the Apache Groovy language to develop web apps.
Go to start.grails.org and use the Grails Application Forge to generate your Grails project. You can choose your project type (Application or Plugin), pick a version of Grails, and choose a Profile - then click "Generate Project" to download a ZIP file. No Grails installation necessary!
here's my .gitignore (it probably contains alot of junk)
.idea/
stacktrace.log
test/reports/
etc/errors.txt
bin-groovy/
.classpath
.project
*.war
web-app/plugins/
web-app/resources/
classes/
test/reports/
Note that this is for grails 1.1.1. (I think before grails 1.1, plugins were stored in /plugins
instead of web-app/plugins
.
Grails.org has specific instructions on checking your project into SVN.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With