In order to use SVN in Eclipse(Juno) you need to follow the following steps
Step 1: Update/Install Juno
- Go to Help
- Install New Software
- Select http:/
/ download.eclipse.org/ releases/ juno in work with - Select Collaboration
- Select the childs Subversive SVN Team Provider & Subversive Revision Graph (Optional)
- Next Next & install
Step 2: Incorporating SVN
- Open perspective
- Select SVN Repository Exploring & Team Synchronizing
Step 3: Adding repository to your locatoin
- Click on SVN Repository Exploring
- Click on New Repository Locatoin
- Add SVN URL
- Give your credential
Step 4 : Adding project to SVN server.
- Right click on repository
- New -> Folder
- Name the folder
- Right click on created folder then chose Import
- Import the project you want to work on.
Note : the project has been imported to your SVN server.
Step 5 : Check out (Download) your project to local drive
- Right click on the folder created by you.
- Chose Find/Check out as
- Chose check out as a project with the name specified.
- Once finished. Go back to Java Perspective now you can see project imported to your workspace (local) with version mentioned at the end.
Step 6: Committing a project
- Right click on project
- Chose Team
- Chose Commit
Note : Short cut Ctrl + Alt + C
Step 7: Compare
If you want to compare the changes made in different instances you can go to Team Synchronizing Perspective
- Click on Project
- Chose Team
- Chose Synchornize with Repository
Note : Here you will get the changes made to the files, you can compare & merge the changes made by other instances.
According to the post, how can i merge changes from branch to the trunk ?
ReplyDeleteNice and very helpful information i have got from your post. Even your whole blog is full of interesting information which is the great sign of a great blogger.
ReplyDeleteandroid app development perth | android app development sydney
Dear Nemco,
DeleteThanks, All the best to you as well