Grails应用程序和版本控制 [英] Grails applications and version control

查看:124
本文介绍了Grails应用程序和版本控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在版本控制下放置Grails应用程序时,应该排除哪些目录/文件?我不希望在我的项目中使用非源文件或工件。

它可能包含很多垃圾)

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

请注意,这是针对grails 1.1.1的。 (我认为在grails 1.1之前,插件存储在 / plugins 中,而不是 web-app / plugins


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.

解决方案

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应用程序和版本控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆