Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Riena/Getting Started"
m |
(using templates) |
||
Line 3: | Line 3: | ||
|} | |} | ||
− | + | {{Riena/Setting up the IDE}} | |
− | + | {{Riena/Installing the Target Platform|3x}} | |
− | + | {{Riena/Running_the_Examples|}} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
[[Category:Riena]] | [[Category:Riena]] | ||
[[Category:EclipseRT]] | [[Category:EclipseRT]] |
Revision as of 11:50, 20 November 2014
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
- Clone the Riena repository:https://github.com/eclipse/org.eclipse.riena.git
- Clone the Riena repository: https://github.com/eclipse/org.eclipse.riena.3xtargets.git
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.
- In the imported project, open the file Riena Based on Eclipse 3x.target and set the target platform.
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.
- 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:
- 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.