Subversion and Eclipse
Oct 09, 2007 by Will Mernagh
First off here are some good links
How to use Subversion with Eclipse and Version Control with Subversion
I use subclipse with eclipse and do something like the following when adding projects to my repository
1. Create the repository (This should already be done svnRepos)
- svnadmin create /cs/grad/username/cs/svnRepos
2. Create the project file structure you want to add to the repository.
- assuming a dir structure lik the following
-epl/
-/Architecture
-/Architecture/ClassDiagram
-/Architecture/ClassDiagram/ClassDiagram.jpg
-/Architecture/SequenceDiagram
-/Architecture/SequenceDiagram/sdCreatePlayer.jpg
-/Architecture/SequenceDiagram/sdCreateGroup.jpg
-/Architecture/SequenceDiagram/sdLogin.jpg
-/Architecture/SequenceDiagram/sdJoinPlayersGroup-1.jpg
-/Architecture/SequenceDiagram/sdLoginCheck.jpg
-/Architecture/UseCase
-/Architecture/UseCase/UseCase.jpg
-/WebRoot
-/src
- create the following structure
-epl/
-trunk/
-branches/
- copy the epl/* into epl/trunk/
3. To add a project from eclipse
- click on team -> share project
- select svn
- create a new repository location
- enter svn+ssh://username@yourhost.com/cs/grad/username/cs/svnRepos/sda/epltest
- Use specific folder name trunk/application (or webapp)
- unselect the .* files
4. your all set
blog comments powered by Disqus
