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"

(Workspace setup (for committers))
(updated git URLs and workspace setup instructions)
 
(16 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{#eclipseproject:rt.riena}}
+
=== Riena Git Repositories ===
Riena on Git
+
  
===Location===
+
The Riena source code is stored in Git in these Git Repositories:
Riena is stored in Git in 4 Git Repos
+
* [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
  
*[http://git.eclipse.org/c/riena/org.eclipse.riena.git/ org.eclipse.riena.git] (most of the active projects are here)
+
Additional (but not required) content:
*[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)
+
* [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
*[http://git.eclipse.org/c/riena/org.eclipse.riena.toolbox.git/ org.eclipse.riena.toolbox.git] (contains all the bundles for the Riena Toolbox)
+
* [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
*[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)
+
  
 +
=== Quick Workspace Setup (checkout source code) ===
  
===Checkout===
+
* Download Eclipse for RCP and RAP Developers from http://www.eclipse.org/downloads/
As pointed out at [[GIT | GIT Wiki page]] committers checkout the code with the url
+
  
'''git clone ssh://<committerid>@git.eclipse.org/gitroot/riena/<repo>'''<br/>
+
* Clone the Riena git repositories and import the projects in your workspace (EGit User Guide http://wiki.eclipse.org/EGit/User_Guide)
i.e.<br/>
+
'''git clone ssh://ccampo@git.eclipse.org/gitroot/riena/org.eclipse.riena.git'''<br/>
+
  
Authentication should be password (not ssh key) and you supply the regular committer password
+
* In project org.eclipse.riena.releng, set the target "Riena on 3.x.target" or "Riena on E4.target"
 +
** When needed, select Project - Clean...
  
Non-committers can checkout the code with the URL<br/>
+
* Set the missing API baseline severity to Warning
'''git clone git://git.eclipse.org/gitroot/riena/org.eclipse.riena.git'''<br/>
+
** Window - Preferences - Plug-In Development - API Baselines
or<br/>
+
[[Image:Riena_API_Baseline.png]]
'''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]
+
** Even now some projects will have compile errors. These are projects, specific to another supported platform (Eclipse 3.x, E4, RAP).
  
===Workspace setup (for committers)===
+
* Run the launch configuration "SWT ExampleApplication" or "SWT ExampleApplication E4" depending on the active target platform.
* 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)
+
  
===Workspace setup (for non committers)===
+
=== Quick Workspace Setup - Riena on RAP ===
* You can do the same steps as above only with a different git url
+
* Follow the above steps to set up a Riena RCP Workspace
* clone with git://git.eclipse.org/gitroot/riena/org.eclipse.riena.git
+
 
 +
* 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.

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