Thursday, June 9, 2011

Subclipse - get started

1. Windows->Open Perspectives->Other->SVN Explorer; Once the view is open, right click "New Location" and put in the URL pointing to your repo

2. to import the project to eclipse the 1st time, right click on the project and 'check out', follow the wizard to import it into the current workspace

3. the project should appear in your workspace then and you can immediately 'commit' the project if you don't want to keep it checked out

4. edit the files anyway you want, when save, the file/project will have a "*" next to its icon, meaning it's changed and different from the copy on the server.

5. to 'check in' the changes. right click on the file and 'Commit' with an comment for the change.

6. To add a local project to SVN repo, right click on that project -> Team ->Share Project->SVN ...

Note: as far as I see now, you can not add a project (and its files) that is under some other source control (e.g. clear case) to SVN

No comments:

Post a Comment