Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Riena/Git"

(New section: Quick Setup)
m (Quick Setup)
Line 2: Line 2:
 
Riena on Git
 
Riena on Git
  
=== Quick Setup ===
+
=== Quick Workspace Setup (checkout source code) ===
 
This guide shows the git URLs for non-committers. Committers use the appropriate ssh URLs (see below sections).
 
This guide shows the git URLs for non-committers. Committers use the appropriate ssh URLs (see below sections).
  

Revision as of 09:02, 15 April 2013

{{#eclipseproject:rt.riena}} Riena on Git

Quick Workspace Setup (checkout source code)

This guide shows the git URLs for non-committers. Committers use the appropriate ssh URLs (see below sections).

  • In project org.eclipse.riena.releng, set the target "Riena on 3.x.target" or "Riena on E4.target"
    • When needed, select Project - Clean...
  • Set the missing API baseline severity to Warning
    • Window - Preferences - Plug-In Development - API Baselines
    • Even now some projects will have compile errors. These are projects, specific to another supported platform (Eclipse 3.x, E4).
  • Run the launch configuration "SWT ExampleApplication" or "SWT ExampleApplication E4" depending on the active target platform.

Location

Riena is stored in Git in 4 Git Repos


Checkout

As pointed out at GIT Wiki page committers checkout the code with the url

git clone ssh://<committerid>@dev.eclipse.org/gitroot/riena/<repo>
i.e.
git clone ssh://ccampo@dev.eclipse.org/gitroot/riena/org.eclipse.riena.git

Authentication should be password (not ssh key) and you supply the regular committer password

Non-committers can checkout the code with the URL
git clone git://git.eclipse.org/gitroot/riena/org.eclipse.riena.git
or
git clone http://git.eclipse.org/gitroot/riena/org.eclipse.riena.git

A list with the Git Repos and links is available here

Workspace setup (for committers)

  • Start Eclipse IDE with blank workspace
  • Set your target platform with equinox sdk and rcp sdk as before
  • File -> Import -> Projects from Git
  • First Clone git clone ssh://<committerid>@git.eclipse.org/gitroot/riena/org.eclipse.riena.git
  • supply your committer password
  • clone to a local location where you store your gitrepos i.e. c:/git-repos/org.eclipse.riena
  • after the clone you can directly import the projects from that location into your workspace
  • open in org.eclipse.riena.releng the projectSet.psf file and import all projects into your workspace
  • you should have no compile errors (other than a missing API baseline)
  • Make sure that you push configuration is set that it only pushes "master" per default. (the default is to push all branches):
    • package explorer >> context menu >> Team >> Remote >> Configure Push to Upstream ... ==> dialog
    • Ref mapping >> Advanced >> Edit (Advanced) ... (enter your credentials) ==> dialog
    • Add create/update specification >> Source Ref (enter refs/heads/master) >> Destination Ref (enter refs/heads/master) >> + Add spec

Workspace setup (for non committers)

Back to the top