Play 2.0 comes with a default .gitignore file, but I've noticed that it is
not sufficient. There are several .gitignore files in the web, but it seems
that they contain unnecessary entries. The ignore file I composed from
different sources looks like this:
syntax: glob
# general
*~
*.log
tmp
dump
.history
/*.iml
/out
# Eclipse
.settings
.cache
.project
.classpath
.scala_dependencies
bin
# IDEA
/.idea
/.idea_modules
# SBT
dist
project/project
project/boot
project/target
project/plugins/target
target
.target
# Play
logs
RUNNING_PID
But as mentioned above some entries seem to be not required (anymore):
*.log
tmp
dump
.history
/*.iml
/out
.scala_dependencies
project/boot
project/plugins/target
RUNNING_PID
The cleaned version looks like this:
syntax: glob
# general
*~
# Eclipse
.settings
.cache
.project
.classpath
bin
# IDEA
/.idea
/.idea_modules
# SBT
dist
project/project
project/target
target
.target
# Play
logs
Is this version complete? Or would it be possible that some of the omitted
entries will appear under some circumstances?
Christian
--