使用seam-gen生成项目后,推荐的源代码控制忽略模式是什么?建议的.gitignore文件(或svn:ignore或等效文件)应该是什么样子?
发布于 2010-11-15 05:07:11
我们在Eclipse下开发Seam项目。我们当前的svn:ignore有以下条目:
classes # all class files
dist # contains generated war files for deployment
.settings # some Eclipse settings
exploded-archives # war content generation during deploy (or explode)
test-output # test results
test-build # test compilation (ant target for Seam)
test-report # test report generation for, e.g., Hudson
temp-testng-customsuite.xml # generated when running test cases under Eclipse此外,在我们的bootstrap文件夹中,我们忽略了data和tmp。
发布于 2010-11-14 22:49:57
我没有直接使用seam的经验,但是如果你使用start a project with seam-gen,那么你需要:
seam
.gitignore文件中排除任何将包含生成内容的内容(如target directory,也包括与集成开发环境相关的文件(如果它们不包括绝对路径),为了让其他人直接获得他们可以导入到上述集成开发环境中的项目,
target directory/seam-gen条目。发布于 2010-11-18 17:50:05
基于上面的条目,我将建议合并到gitignore项目的一个条目中:https://github.com/github/gitignore/blob/master/SeamGen.gitignore
https://stackoverflow.com/questions/4176687
复制相似问题