Bug 538134 - Clean "Eclipse for RCP and RAP Developers" install corrupts workspace when RAP Demo run
Summary: Clean "Eclipse for RCP and RAP Developers" install corrupts workspace when RA...
Status: NEW
Alias: None
Product: PDE
Classification: Eclipse Project
Component: Build (show other bugs)
Version: 4.8   Edit
Hardware: PC Windows 10
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: pde-build-inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-21 16:29 EDT by Terry Kilshaw CLA
Modified: 2022-08-02 09:20 EDT (History)
0 users

See Also:


Attachments
Eclipse Workspace log file (66.63 KB, application/octet-stream)
2018-08-21 16:29 EDT, Terry Kilshaw CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Terry Kilshaw CLA 2018-08-21 16:29:43 EDT
Created attachment 275476 [details]
Eclipse Workspace log file

This is long and fairly complex but please bear with it as I detail a couple of other issues on the way to the big-one.

RAP looks like a really interesting technology but so far I have spent the best part of two days installing and reinstalling it.

1) download eclipse-inst-win64.exe from the Eclipse download area.

2) run that installer. Looking at the About item it says:

Installer version: 1.9.0 Build 3551 

and references:

http://download.eclipse.org/oomph/products/repository

3) In the installer choose the Eclipse for RCP and RAP Developers item

I installed this to "C:\Users\terry.QUANTECH\eclipse_photon"

The workspace was the following in C:\Users\terry.QUANTECH\eclipse_photon-workspace\.metadata\version.ini

#Tue Aug 21 13:06:01 PDT 2018
org.eclipse.core.runtime=2
org.eclipse.platform=4.8.0.v20180611-0500

4) Launch that Eclipse

5) on the Welcome screen click on the item:

Tutorial: Get Started with the Remote Application Platform

6) Following the Cheat Sheet we see:

"This cheat sheet shows you how to explore the demo applications that come with RAP.  If not yet done we will help you to install the RAP Target Platform.  As RAP is a platform itself it cannot be installed on top of an existing Eclipse installation." 

I would have thought that RAP Target Platform was already installed. 
But if I continue with the cheat sheet without installing the RAP Platform then the demo application will not be in the list in the Import Plug-ins and Fragments Found list.

OK, so I go back and install the Target Platform, as the cheat sheet says. 

NOTE: Typo in the Cheat Sheet text:

"First let's install the target..."

Should be:

"First let's install the target..."

7) Next follow the cheat sheet to import the demo.

That works well.

The next cheat sheet item says:

"To launch the demo application we use the RAP Workbench Demo launch configration that is bundled with the just imported plug-in. 
Use the Run > Open Run Dialog menu item or click Perform and select the above mentioned launch configuration."

NOTE: Run > should be Run >.

NOTE: There is no Run > Open Run Dialog menu item in Eclipse Photon.

8) Click the next cheat sheet "Click to Perform" clickable and the Select Configuration window opens.

From there choose the RAP Workbench Demo item and click the OK button.

Eclipse opens a browser pane on the Eclipse Workbench. Its title in the tab is "RAP Workbench Demo"

It has the following URL:

http://127.0.0.1:53276/workbench/

And says "The webpage cannot be found". 

9) Now quit Eclipse

10) Now launch Eclipse again.

When I choose the same workspace, and there is only one workspace, I get a dialog that says:

"An error has occurred. See the log file C:\Users\terry.QUANTECH\eclipse-photn-workspace\.metadata\.log"

That log file is attached.

This is a show-stopper. There is no way to get into that workspace.

The only way around this is to delete the eclipspe and workspace folders and to reinstall.
Comment 1 Eclipse Genie CLA 2020-08-11 10:51:30 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 2 Eclipse Genie CLA 2022-08-02 09:20:03 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.