1 / 14

Subclipse

Subclipse. Background. Subversion version control system allow multiple users to develop on one project at the same time Subclipse Eclipse plug-in manipulate a project on a Subversion server in the Eclipse environment. Steps to follow when working on a project, in a team. Checkin

asta
Download Presentation

Subclipse

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Subclipse

  2. Background • Subversion • version control system • allow multiple users to develop on one project at the same time • Subclipse • Eclipse plug-in • manipulate a project on a Subversion server in the Eclipse environment

  3. Steps to follow when working on a project, in a team. • Checkin • Checkout • Update • Synchronize • Merge • Commit

  4. Adding Subclipse Plug-in to Eclipse • The URL for Subclipse plug-in: http://subclipse.tigris.org/update_1.2.x • Steps: Help > Install New Software > Enter URL > Select the Subversion feature > License Agreement > Install > Restart

  5. SVN Repository Exploring • SVN Repository • SVN Annotate • SVN Resource History

  6. Adding a Repository URL to Subclipse • New > SVN Repository • URL for the repository • Provide your user id and password

  7. Check In • Right click on the project and select Team > Share Project • Eclipse asks if you want to add the project to the existing repository or create a new one. • In the next step: Use project name as module name

  8. Checkout a project • Right click on the repository in the SVN repository exploring • Select checkout • If a project with the same name already exists it is destroyed.

  9. Synchronizing and Committing Resources to the Repository • Any resources that you have modified will have a black asterisk. • Any newly added resources will have a question mark • Right click on the project > Team > Synchronize with Repository • Outgoing changes • Incoming changes

  10. Synchronizing (Contd..) • Red bi-directional arrow – someone modified the file in the repository while you were working on it. • Double click and open the file in compare editor. • Copy-paste the incoming changes in your local file. • Right click on the local file and select Mark as Merged Note: Check thoroughly before selecting Mark as Merged!!!

  11. Commit Three situations for commit: • If there are no conflicts in the synchronize perspective, you can commit your changes • If there are no conflicts but just incoming changes, then update to version and then commit. • If there are conflicts, then you merge, update and commit in that order. Note: Add meaningful comments when you commit your changes.

  12. History • Use • Compare with • Replace with

  13. References: • http://ist.berkeley.edu/as-ag/tools/usage/subclipse-usage-tips.html • http://www.ibm.com/developerworks/opensource/library/os-ecl-subversion/ • http://agile.csc.ncsu.edu/SEMaterials/tutorials/subclipse/index.html#section4_0 • http://svnbook.red-bean.com/nightly/en/svn-book.html

  14. Queries?

More Related