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"

m (Checkout)
(updated git URLs and workspace setup instructions)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#eclipseproject:rt.riena}}
+
=== Riena Git Repositories ===
Riena on Git
+
 
 +
The Riena source code is stored in Git in these Git Repositories:
 +
* [https://git.eclipse.org/c/riena/org.eclipse.riena.git/ git://git.eclipse.org/gitroot/riena/org.eclipse.riena.git] - Central Riena repo with most of the runtime/development components
 +
* [https://git.eclipse.org/c/riena/org.eclipse.riena.rap.git/ git://git.eclipse.org/gitroot/riena/org.eclipse.riena.rap.git] - Riena components for running Riena in the web on top of RAP
 +
* [https://git.eclipse.org/c/riena/org.eclipse.riena.toolbox.git/ git://git.eclipse.org/gitroot/riena/org.eclipse.riena.toolbox.git] - Riena repo with all the toolbox bundles that are installed into the Eclipse IDE
 +
 
 +
Additional (but not required) content:
 +
* [https://git.eclipse.org/c/riena/org.eclipse.riena.3xtargets.git/ git://git.eclipse.org/gitroot/riena/org.eclipse.riena.3xtargets.git] - Repository for maintaining 3x targetplatforms with new SWT bundles for use in Riena
 +
* [https://git.eclipse.org/c/riena/org.eclipse.riena.setup.git/ git://git.eclipse.org/gitroot/riena/org.eclipse.riena.setup.git] - Helper project for Riena workspace setup
  
 
=== Quick Workspace Setup (checkout source code) ===
 
=== Quick Workspace Setup (checkout source code) ===
This guide shows the git URLs for non-committers. Committers use the appropriate ssh URLs (see below sections).
 
  
 
* Download Eclipse for RCP and RAP Developers from http://www.eclipse.org/downloads/
 
* Download Eclipse for RCP and RAP Developers from http://www.eclipse.org/downloads/
  
* Clone Repositories and import projects (EGit User Guide http://wiki.eclipse.org/EGit/User_Guide)
+
* Clone the Riena git repositories and import the projects in your workspace (EGit User Guide http://wiki.eclipse.org/EGit/User_Guide)
** [[git://git.eclipse.org/gitroot/riena/org.eclipse.riena.git]]
+
  
 
* In project org.eclipse.riena.releng, set the target "Riena on 3.x.target" or "Riena on E4.target"
 
* In project org.eclipse.riena.releng, set the target "Riena on 3.x.target" or "Riena on E4.target"
Line 15: Line 21:
 
* Set the missing API baseline severity to Warning
 
* Set the missing API baseline severity to Warning
 
** Window - Preferences - Plug-In Development - API Baselines
 
** 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).
+
[[Image:Riena_API_Baseline.png]]
 +
 
 +
** Even now some projects will have compile errors. These are projects, specific to another supported platform (Eclipse 3.x, E4, RAP).
  
 
* Run the launch configuration "SWT ExampleApplication" or "SWT ExampleApplication E4" depending on the active target platform.
 
* Run the launch configuration "SWT ExampleApplication" or "SWT ExampleApplication E4" depending on the active target platform.
Line 21: Line 29:
 
=== Quick Workspace Setup - Riena on RAP ===
 
=== Quick Workspace Setup - Riena on RAP ===
 
* Follow the above steps to set up a Riena RCP Workspace
 
* Follow the above steps to set up a Riena RCP Workspace
 
* Clone Riena on RAP repository and import the projects into the workspace
 
** [[git://git.eclipse.org/gitroot/riena/org.eclipse.riena.rap.git]]
 
** You may import the projects from each repository into a different project set to distinguish them later.
 
  
 
* In project org.eclipse.riena.releng, set the target "Riena on RAP.target"
 
* In project org.eclipse.riena.releng, set the target "Riena on RAP.target"
 
** When needed, select Project - Clean...
 
** When needed, select Project - Clean...
 
* In project "org.eclipse.riena.example.client", open plugin.xml (as Text) and scroll to the file bottom.
 
** Here enable the commented out extension to "org.eclipse.rap.ui.entrypoint"
 
  
 
* Run the launch configuration "RAP SWT ExampleApplication"
 
* Run the launch configuration "RAP SWT ExampleApplication"
** RAP may open the web browser too early, so that the application is not fully initialized. In case you see an error message in the brower, wait for the application to start up, then refresh the browser.
+
** RAP may open the web browser too early, so that the application is not fully initialized. In case you see an error message in the browser, wait for the application to start up, then refresh the browser.
 
+
=== Git Repos URLs ===
+
Riena is stored in Git in 4 Git Repos
+
 
+
*[http://git.eclipse.org/c/riena/org.eclipse.riena.git/ org.eclipse.riena.git] (most of the active projects are here)
+
*[http://git.eclipse.org/c/riena/org.eclipse.riena.rap.git/ org.eclipse.riena.rap.git] (contains riena bundle for running on top of RAP)
+
*[http://git.eclipse.org/c/riena/org.eclipse.riena.toolbox.git/ org.eclipse.riena.toolbox.git] (contains all the bundles for the Riena Toolbox)
+
*[http://git.eclipse.org/c/riena/org.eclipse.riena.old.git/ org.eclipse.riena.old.git] (contains all the bundles that are no longer used by Riena but where still in the CVS history)
+
 
+
===Checkout===
+
As pointed out at [[GIT | GIT Wiki page]] committers checkout the code with the URL
+
 
+
'''git clone ssh://<committerid>@dev.eclipse.org/gitroot/riena/<repo>'''<br/>
+
i.e.<br/>
+
'''git clone ssh://ccampo@dev.eclipse.org/gitroot/riena/org.eclipse.riena.git'''<br/>
+
 
+
Authentication should be password (not ssh key) and you supply the regular committer password
+
 
+
Non-committers can checkout the code with the URL<br/>
+
'''git clone git://git.eclipse.org/gitroot/riena/org.eclipse.riena.git'''<br/>
+
or<br/>
+
'''git clone http://git.eclipse.org/gitroot/riena/org.eclipse.riena.git'''<br/>
+
 
+
A list with the Git Repos and links is available [http://git.eclipse.org/c/?ofs=150 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)===
+
* You can do the same steps as above only with a different git url
+
* clone with git://git.eclipse.org/gitroot/riena/org.eclipse.riena.git
+

Latest revision as of 11:39, 25 June 2015

Riena Git Repositories

The Riena source code is stored in Git in these Git Repositories:

Additional (but not required) content:

Quick Workspace Setup (checkout source code)

  • 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

Riena API Baseline.png

    • Even now some projects will have compile errors. These are projects, specific to another supported platform (Eclipse 3.x, E4, RAP).
  • Run the launch configuration "SWT ExampleApplication" or "SWT ExampleApplication E4" depending on the active target platform.

Quick Workspace Setup - Riena on RAP

  • Follow the above steps to set up a Riena RCP Workspace
  • In project org.eclipse.riena.releng, set the target "Riena on RAP.target"
    • When needed, select Project - Clean...
  • Run the launch configuration "RAP SWT ExampleApplication"
    • RAP may open the web browser too early, so that the application is not fully initialized. In case you see an error message in the browser, wait for the application to start up, then refresh the browser.

Back to the top