Project

General

Profile

MigratinEditorDevEnvToLuna » History » Version 19

Cherian Mathew, 11/18/2015 03:29 PM

1 19 Cherian Mathew
2
#!html
3
4
<font color=[red">Warning : This page is now outdated - please refer to "TaxonomicEditorDevelopersGuide](http://dev.e-taxonomy.eu/trac/wiki/TaxonomicEditorDevelopersGuide#TargetRCPEnvironment) </font>
5
6
7 17 Cherian Mathew
8 1 Cherian Mathew
This page describes the steps required to move the taxonomic editor development environment to Eclipse Luna.
9
10
11 3 Cherian Mathew
12 14 Andreas Müller
## Step 1 : Install Luna RCP
13 13 Andreas Müller
14
Install Luna RCP bundle http://www.eclipse.org/downloads/packages/eclipse-rcp-and-rap-developers/lunasr2 on your machine.
15
16 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_
17 13 Andreas Müller
18
19
20 14 Andreas Müller
## Step 2 : Get the Luna compatible branch
21 1 Cherian Mathew
22 11 Cherian Mathew
This is any branch including and after 3.6.1-SNAPSHOT
23 4 Cherian Mathew
24
25
26 14 Andreas Müller
## Step 3 : Update the target platform
27 4 Cherian Mathew
28
* Open the **rcp.target** file in the _eu.etaxonomy.taxeditor_ project
29
30 12 Patrick Plitzner
* For the nebula site click on "edit" and select the Composite Table Widget
31
32 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
33 5 Cherian Mathew
34
![](editor-luna-rcp-target.png)
35 7 Cherian Mathew
~~~
36
<code class="html">
37
<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>
38
~~~
39 8 Cherian Mathew
40 9 Cherian Mathew
41 14 Andreas Müller
## Step 4 : Setup the workspace to use the rcp target
42 8 Cherian Mathew
43
* Open the Preferences panel (Window -> Preferences) and select Plug-in Development -> Target Platform.
44
45
* 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.
46
47 10 Cherian Mathew
![](editor-luna-set-target.png)
48 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.
49 8 Cherian Mathew
50
* Right click on the _eu.etaxonomy.taxeditor.application_ project and choose Run as -> Eclipse Application to create new launch configurations for Run / Debug.
51
52