Clone the ARSIN V01 Repository

From SIMA wiki
Revision as of 12:06, 16 October 2012 by Herret (talk | contribs)
Jump to: navigation, search

Laufwerk S: anlegen (Windows)

In der Eingabeaufforderung folgenden Befehl eingeben:

subst s: "<Pfad an dem der Code abgelegt werden soll>"

Anschließend den Befehl in einer .bat Datein speichern um im Windows Startup Ordner ablegen


Clone Code

  1. start eclipse
  2. Window/Open Perspective/Other …
  3. “Git Repository Exlopering” → Ok
  4. In case the message with the environment variable HOME appears, please ignore it and press Ok
  5. Select the “Git Repository Exlopering” View
  6. Select the icon for “Clone a Git Repository and add the clone to this view”
  7. Enter ssh://USERNAME@vesta.ict.tuwien.ac.at/home/prj/ARS/GITRoot/ARSIN_V01 in the field URI
  8. Enter your username and password in the fields in the Authentication from group
  9. Press button “Next”
  10. Select all branches. Currently (CB and master).
  11. Press button “Next”
  12. Enter S:\ARSIN_V01 as destination directory. Initial branch is master; Remote name is origin.
  13. Press button “Finish”
  14. Wait until cloning has finished. Typically a few minutes.
  15. Now, the ARSIN_V01 code repository is visible in the Git Repositories tab.


Add Projects to Workspace

  1. Open the first level of the repository tree.
  2. Right click on “Working directory” and select “Import Projects”
  3. Select “Import Existing Projects” and press “Next”
  4. Select All projects (currently: DecisionUnitInterface, DecisionUnitMasonInspectors, DecisionUnits, ExtTools, Sim, TestApps, World)
  5. Press “Finish”
  6. Switch to view “Java”
  7. Wait until workspace has been built
  8. In the package explorer are eight projects visible plus the git related information [ARSIN_V01 master]
  9. When you right-click on one of the projects and select Team, you will get the following git context menu:
    1. Commit - commit your changes
    2. Add - add a new file
    3. Pull - get the lastet version of the repository from the remote repo on the server (pull can only be made if all your changes are either commited or stashed)
    4. Push - update the remote repo (you can only push if you have pulled and merged the latest version on the server)

back to:Code repository and Eclipse