在eclipse中使用提交SVN忽略哪些文件

时间:2014-03-28 03:59:51

标签: android eclipse svn subclipse

我已经使用了Eclipse和SVN一段时间了。但是,在将整个项目提交到存储库时,我仍然不清楚通常应该忽略哪些文件/文件夹。我知道.project需要被忽略。别人怎么样?顺便说一下这是一个android项目。但是,也欢迎对一般项目的答案。

感谢。

2 个答案:

答案 0 :(得分:0)

基本上是在.gitignore文件中为android项目添加的文件列表。

# Built application files
*.apk
*.ap_

# Files for the Dalvik VM
*.dex

# Java class files
*.class

# Generated files
bin/
gen/

# Gradle files
.gradle/
build/

# Local configuration file (sdk path, etc)
local.properties

# Proguard folder generated by Eclipse
proguard/

答案 1 :(得分:0)

我们使用以下配置来支持不同的IDE:

# Eclipse related (and M2e)
.classpath
.project
.settings/
.metadata/
test-output/

# Maven related (and some plugins)
target/
*~
dist
*.ser
*.ec

# Intellij
*.ipr
*.iml
*.iws
.idea
.temp

# Other
.svn/
bin/
bak/
*.log
*.orig
*.versionsBackup
相关问题