Upload File to Eclipse Svn Project From Desktop

Working with Projects from a SVN repository in Eclipse

The performance you ought to perform for the class are:

  • Plugin installation (to exist performed only in one case, already done on the LIB PCs)
  • Cheque out a project
  • Commit your work
  • Update your project

Plugin installation

To perform the task shown here yous need to have the Subversive SVN Team Provider plugin.

This operation has to be performed just once on the computer the first time SVN is used. It has already been performed in the LAIB PCs.

You can follow the instructions for the SVN plugin.

Check out a project

  • From the File menu select Import, the wizard window appears:

    Import wizard
    Import wizard
  • Select SVN and and so Project from SVN, and, if you are post-obit the process for the first time, in the sorcerer check the Create a New Repository Location and so Next>.
    If you lot already created a repo location you can select an existing repository and skip the next step.

  • The dialog requiring the information about the repository appears, insert the URL of the repository and provide a characterization.

    • http://oop.polito.it/svn/OOP2021/ENG/ for the lawmaking samples presented during lectures
    • http://oop.polito.information technology/svn/OOPLabs/s000000 for the personal Lab Consignment repository; in this example:
      • in place of s000000 you should provide your ain id,
      • the username is the same id,
      • the password is the one you received via email1
    Repository Details
    Repository Details
  • Click Finish and the resource selection dialog appears.

    In case of errore (related to Connector) you probably did not installa the connector: delight brand sure you followed ALL the steps in the Destructive plug-in installation!

    Resource selection dialog
    Resource choice dialog

    DO NOT CLICK End!!!: that would check out the entire repository which includes several projects, while Eclipse is expecting a unmarried projection.

  • Click on the Scan push, the Select Resource dialog appears:

    Select resource
    Select resource

    The folders shown there are the Eclipse projects you need to import: select 1 of them and click on OK. You are taken back to the previous dialog.

  • At present, with the project resources selected, you lot can click on End; the Check Out As dialog appears:

    Check Out As
    Bank check Out As

    Typically the default settings are ok: y'all desire to check-out the latest version (the Caput Revision)2, into a binder with the same name as the project3 within the Eclipse workspace

  • Click on Terminate to check-out the project into your workspace.

Commit Your Piece of work

To commit your work to the repository (i.e. save a copy of the current status of your project):

  • Right click on your projection, so select Squad and then Commit…;

    Team and Commit
    Squad and Commit

    The Commit dialog opens:

    Commit
    Commit

The window reports the resources (files) that changed w.r.t. the reversion you checked out from the repository. They could have been: modified, added, or removed.

  • Provide a annotate (e.g.Implemented requirement R1) and click OK.

    The projection is committed to the repository.

Update your project

If the project has been changed by someone else (e.g. the project with the lectures' examples had been inverse by the professor), it is required to update your local copy to the latest version nowadays on the repository (Caput).

To execute the update of your local copy:

  • Right click on your project, then select Team and and then Update to HEAD;

    Team and Commit
    Team and Commit

Be careful that if y'all made some changed to the files due west.r.t. the version that you previously got from the repo, some conflicts might exist plant. Handling conflicts is across the telescopic of this certificate, delight refer to the lecture on Configuration Management.



  1. The received email is similar to the post-obit 1:

  2. Yous can select a specific version or date↩

  3. If you wish you lot can change the name of the project that volition be used↩


grullonsensill.blogspot.com

Source: https://oop.polito.it/doc/UsingSvnEclipse_en.html

0 Response to "Upload File to Eclipse Svn Project From Desktop"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel