Contributing to SVN Codebase

Back to workshop details

In this session we will all become committers to the HcryptoJ project. We will create a Developers.txt file that we will all put our names into. We will deal with conflicts that arise because we are all trying to commit changes to the same file.

The First Developer

 * In Eclipse, create a new text file at the top-level of the HcryptoJ project -- the repo/branches/hfoss2010 version.
 * New > File >
 * Put the file under version control: Team > Add to Version Control
 * In Eclipse, commit the changes: Team > Commit

The Other Developers

 * Do an update of the HcryptoJ (repo/branches/hfoss2010) project: Team > Update
 * Edit Contributors.txt adding your name to the file
 * Update from the repository: Team > Update
 * If you get a conflict (files with similar names will appear in Eclipse)
 * Use Team > Edit Conflicts to resolve the conflicts.
 * Use Team > Mark Resolved to inform Subversion that you have resolved the conflict.
 * Update repeatedly until you do not get a conflict.
 * Commit.