Project

General

Profile

MigratinEditorDevEnvToLuna » History » Version 16

Andreas Kohlbecker, 09/01/2015 04:13 PM

1 1 Cherian Mathew
This page describes the steps required to move the taxonomic editor development environment to Eclipse Luna.
2
3
4 3 Cherian Mathew
5 14 Andreas Müller
## Step 1 : Install Luna RCP
6 13 Andreas Müller
7
Install Luna RCP bundle http://www.eclipse.org/downloads/packages/eclipse-rcp-and-rap-developers/lunasr2 on your machine.
8
9 16 Andreas Kohlbecker
Alternatively you may install Standard Luna and install all required plugins for rcp development: _Plug-in Development Environment (PDE)_, _Remote Application Platform (RAP)_, and optional _WindowBuilder Core_
10 13 Andreas Müller
11
12
13 14 Andreas Müller
## Step 2 : Get the Luna compatible branch
14 1 Cherian Mathew
15 11 Cherian Mathew
This is any branch including and after 3.6.1-SNAPSHOT
16 4 Cherian Mathew
17
18
19 14 Andreas Müller
## Step 3 : Update the target platform
20 4 Cherian Mathew
21
* Open the **rcp.target** file in the _eu.etaxonomy.taxeditor_ project
22
23 12 Patrick Plitzner
* For the nebula site click on "edit" and select the Composite Table Widget
24
25 4 Cherian Mathew
* Select the three software sites and hit *update*. This will compute the dependencies of the various plugins and retrieve them to give a result which looks like
26 5 Cherian Mathew
27
![](editor-luna-rcp-target.png)
28 7 Cherian Mathew
~~~
29
<code class="html">
30
<font color="red">Warning : Due to a bug related to this functionality in Eclipse the update may not happen immediately, giving errors like 'Unable to locate ..'. In this case restart Eclipse and redo the above two steps.</font>
31
~~~
32 8 Cherian Mathew
33 9 Cherian Mathew
34 14 Andreas Müller
## Step 4 : Setup the workspace to use the rcp target
35 8 Cherian Mathew
36
* Open the Preferences panel (Window -> Preferences) and select Plug-in Development -> Target Platform.
37
38
* Select the **Eclipse Indigo Target*. If you see 'Unable to locate ..' errors in the *Locations view** then hit **Reload** to fix these. Hit **Apply** to use the chosen rcp target for the development environment.
39
40 10 Cherian Mathew
![](editor-luna-set-target.png)
41 15 Andreas Müller
* Delete the _eu.etaxonomy.taxeditor.application.product_ configuration from the Run/Debug configurations if it exists because you have worked with a prior version before.
42 8 Cherian Mathew
43
* Right click on the _eu.etaxonomy.taxeditor.application_ project and choose Run as -> Eclipse Application to create new launch configurations for Run / Debug.
44
45