简体   繁体   中英

Commiting project on svn repository from eclipse

I know how to commit project to the repository ie by doing right click on Project>Team>commit and then select the files to commit. My confusion is at this point while we select which files do we need to commit:

1) Do we need to select only java files and xml files?

2) Will it lead to any conflicts if we commit bin or other folders or files than java files and xml files?

It might sound so silly but it would be really very helpful if anyone throws light on these points! or give references to any good tutorial on commiting files to svn.

Thanks

1) It is strongly NOT recommend to commit a bin folder or classes files. It is recommended to commit only source files (Java) and resources (xml files, images etc.).

2) If you commit the bin folder you will see a difference each time after a compilation.

Couple of additional clarifications why NOT to commit the result of the compilation (a bin folder or classes files):

1) You can compile your product form the same sources to the different platforms

2) It just take space in a source control repository

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM