views:

67

answers:

1

I just setup SVN for my java Android project through SubEclipse. Can anyone advise me on which files I should not upload to the repository? Just like in Objective C I have my build files in a separate folder, I still don't know how the build system in Java organizes files and what is considered "build" files.

Any advice?

+2  A: 

I would leave out anything in the following directories:

  • /bin
  • /gen
  • /libs

You will need to check in the following files only if you want to include your Eclipse project settings:

  • /.settings
  • /.externalToolBuilders
  • .classpath
  • .project
  • default.properties
Aaron C
/libs should be checked in if there isn't something like maven or ivy to handle the jars there. Downvote on checking in the classpath
Woot4Moo
@Woot4Moo I disagree with the generalization on .classpath. It's OK to check in .classpath if **everything** in them is relative to the project. If you use any non-relative references then avoid it. I agree with /libs
Chris Nava
@Chris I have yet to see everyone's class path match when there are more than 3 developers :)
Woot4Moo
Thank you very much everyone.
programmerdave