Difference between revisions of "Clone the ARSIN V01 Repository"

From SIMA wiki
Jump to: navigation, search
(Add Projects to Workspace)
(Add Projects to Workspace)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Laufwerk S: anlegen (Windows)==
+
==Clone Code==
In der Eingabeaufforderung folgenden Befehl eingeben:
+
use the eclipse plugin [[EGIT|EGIT]] or the standalone GUI [[TortoiseGIT|TortoiseGIT]]
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
+
For more detailed GIT Information see [[Umgang mit Git]]
 
 
 
 
== Clone Code ==
 
#start eclipse
 
#Window/Open Perspective/Other …
 
#“Git Repository Exlopering” → Ok
 
#In case the message with the environment variable HOME appears, please ignore it and press Ok
 
#Select the “Git Repository Exlopering” View [[File:Git repo expl view.png|thumb|200px|center]]
 
#Select the icon for “Clone a Git Repository and add the clone to this view” [[File:Git clone repo.png|thumb|200px|center]]
 
#Enter ssh://USERNAME@vesta.ict.tuwien.ac.at/home/prj/ARS/GITRoot/ARSIN_V01 in the field URI
 
#Enter your username and password in the fields in the Authentication from group
 
#Press button “Next”
 
#Select all branches. Currently (CB and master).
 
#Press button “Next”
 
#Enter S:\ARSIN_V01 as destination directory. Initial branch is master; Remote name is origin.
 
#Press button “Finish”
 
# Wait until cloning has finished. Typically a few minutes.
 
#Now, the ARSIN_V01 code repository is visible in the Git Repositories tab.[[File:Git view working.png|thumb|200px|center]]
 
  
 
== Add Projects to Workspace ==
 
== Add Projects to Workspace ==
Line 33: Line 14:
 
#Wait until workspace has been built
 
#Wait until workspace has been built
 
#In the package explorer are eight projects visible plus the git related information [ARSIN_V01 master][[File:After import.png|thumb|200px|center]]
 
#In the package explorer are eight projects visible plus the git related information [ARSIN_V01 master][[File:After import.png|thumb|200px|center]]
#When you right-click on one of the projects and select Team, you will get the following git context menu:
 
##Commit - commit your changes ([[Umgang mit Git]])
 
##Add - add a new file
 
##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)
 
##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]]
 
back to:[[Code repository and Eclipse]]
 +
 +
 +
If there is any problem with the project path set the project path manually in
 +
GeneralTools/statictools/clsGetARSPath
 +
 +
Don't push the changes in clsGetARSPath to the repository!!!!!!

Latest revision as of 12:25, 2 October 2013

Clone Code

use the eclipse plugin EGIT or the standalone GUI TortoiseGIT

For more detailed GIT Information see Umgang mit Git

Add Projects to Workspace

  1. Open the first level of the repository tree.
    Git repo view.png
  2. Right click on “Working directory” and select “Import Projects”
  3. Select “Import Existing Projects” and press “Next”
    ImportSelect.png
  4. Select All projects (currently: DecisionUnitInterface, DecisionUnitMasonInspectors, DecisionUnits, ExtTools, Sim, TestApps, World)
    SelectProjects.png
  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]
    After import.png

back to:Code repository and Eclipse


If there is any problem with the project path set the project path manually in GeneralTools/statictools/clsGetARSPath

Don't push the changes in clsGetARSPath to the repository!!!!!!