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

Riena/Getting Started

< Riena
Revision as of 11:50, 20 November 2014 by Unnamed Poltroon (Talk) (using templates)

Setting up the IDE

  • Install a Eclipse for Commiters. Download from Eclipse

Clone with SSH

  • Generate a new SSH-Key pair.
  • Go to your github account and paste your key there.
  • Goto Window->Preferences->...->SSH2 and add your private key there
  • Clone the Riena repository:git@github.com:eclipse/org.eclipse.riena.git
  • Clone the Riena repository:git@github.com:eclipse/org.eclipse.riena.3xtargets.git

Clone with HTTPS

Next Step

Next you need to install the Riena runtime. This is done by setting Riena as the Target Platform. The Target Platform is the foundation for your Riena based application.

Installing the Target Platform based on {{{2}}}

For a Riena-based application to compile, a certain set of bundles (plug-ins) must be available at compile time. This set of bundles is known as Target Platform. Follow these steps to set up the target platform for Riena applications.

Manually set the Target Platform

  • Download the RienaSetup project and import it into your Eclipse workspace.

Import project RienaSetup.png

  • In the imported project, open the file Riena Based on Eclipse 3x.target and set the target platform.

Target platform editor RienaSetup.png

Note: the above screenshot might NOT show the correct version for the individual components. i.e. you might see 6_1_0_0 instead of 5_0_0_0

Next Step

Running the Examples

Once you have set up the Eclipse IDE and the Riena Target Platform, you are ready to explore and run the code examples. There are three kinds of example types available.

Remote Service Application

This example demonstrates a client-server system, communicating over the network.

  • Open the New Project wizard (File > New > Project) and select Riena > Riena Remote Service Application.

Project template RemoteApplication.png

  • Type a project name (e.g. testapp) and click Next. On the following page, select the client type and click Finish.

Three plug-ins will be created with pre-configured launch configurations for the client and server parties.

Example Client

  • Open the "Plug-Ins" view and import org.eclipse.riena.example.client as source project:

Import source project RienaSetup.png

  • In the project RienaSetup, select the launch configuration "SWT ExampleApplication " and add required plug-ins, then Run it.

Snippets

Some specific techniques are demonstrated in the project org.eclipse.riena.sample.snippets, which can be imported using the "Plug-Ins" view.

Back to the top