Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Grails applications and version control

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.

like image 593
jamz Avatar asked Jun 05 '09 15:06

jamz


People also ask

What is Grails framework used for?

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.

What is better Grails or spring?

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.

Is Grails based on 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.

How do I create a Grails application?

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!


2 Answers

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.

like image 162
Miguel Ping Avatar answered Nov 09 '22 08:11

Miguel Ping


Grails.org has specific instructions on checking your project into SVN.

like image 43
Ben Williams Avatar answered Nov 09 '22 07:11

Ben Williams