Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 325680

Summary: The Papyrus perspective and views will not show up after installation
Product: [Modeling] Papyrus Reporter: Daniel Alvarez Arribas <daniel.alvarez>
Component: CoreAssignee: Remi Schnekenburger <rschnekenburger>
Status: CLOSED INVALID QA Contact:
Severity: major    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Daniel Alvarez Arribas CLA 2010-09-18 10:53:07 EDT
Build Identifier: 20100617-1415

The installation process finishes without errors, but by the looks of it Papyrus seems to be not installed.

After installation, there is no Papyrus perspective (the papyrus docs say there should be a perspective), nor any view, nor any help content belonging to it (again, the project website claims there should be help content).

You can even try to install the whole thing again by choosing the entry again in the "Help -> Install Modeling Components" dialog.

Although Papyrus is still an incubating component, I think it is a shame to include something that will not even install.

Reproducible: Always

Steps to Reproduce:

1. Install Eclipse MDT, Helios Release

2. Open the dialog Help -> Install Modeling Components

3. In the List of components, check the entry for Papyrus.

4. Go on, everything standard, just OK-ing everything away when asked.

5. Installation completes and seems to have worked, but Papyrus is not installed.
Comment 1 Remi Schnekenburger CLA 2010-09-21 10:55:18 EDT
I have tried the same process and it was successful for me.

In the help => About Eclipse => installation details: can you see some Papyrus stuff in the installed software or in the features list?
Comment 2 Daniel Alvarez Arribas CLA 2010-09-21 12:01:34 EDT
(In reply to comment #1)
> I have tried the same process and it was successful for me.
> 
> In the help => About Eclipse => installation details: can you see some Papyrus
> stuff in the installed software or in the features list?

I did check the installed components using the Help -> Install New Software... -> "What is already installed?" listing. There was absolutely nothing related to Papyrus. After restarting the Eclipse MDT installation multiple times (even downloading a fresh copy and trying to install Papyrus into it), I gave up on it.

Then I installed both Papyrus and the TOPCASED Tools as standalone installations. They both worked and I created some diagrams with them.

As for now (after installing the standalone tools), the "What is already installed" listing shows both TOPCASED and Papyrus components, specifically a folder named "MDT Papyrus - runtime and tools".

The "show installation details" in "Help -> About Eclipse" gives the same info.

But it still does not work. Under "Window -> Open Perspective" I can see "<Papyrus>" and "<<Papyrus>>", which IMO means that the system is aware that I used the perspective (in the standalone installation), but there is no way of using those perspectives (they load, but they don't give me any functionality), or using "File -> New" to create a diagram (There are just the regular ECore diagrams). As I understand it, there should be a Perspective called "Papyrus" (without any angle brackets), and at least a view called "Birdview".
Comment 3 Daniel Alvarez Arribas CLA 2010-09-21 12:02:59 EDT
(In reply to comment #1)
> I have tried the same process and it was successful for me.
> 
> In the help => About Eclipse => installation details: can you see some Papyrus
> stuff in the installed software or in the features list?

The standalone installations are in different (completely unrelated) installation folders, of course. All installations share a single workspace.
Comment 4 Daniel Alvarez Arribas CLA 2011-01-05 16:24:04 EST
I observed this behaviour with other Eclipse Plugins as well, specifically with the subclipse SVN client.

I believe this is a general problem that happens when the Eclipse IDE is installed on Windows 7 in either the "Program Files" or "Program Files (x86)" directory (I actually installed it in the Program Files directory), and further plugins are installed from within Eclipse, while running Eclipse from a regular user account. There might be some permissions or visibility problem here. I believe this behaviour is not specific to Papyrus.

Installing the necessary software from an Eclipse IDE running as the administrator user (Using the "Run as administrator" Windows 7 feature) will make the perspective show up as expected, which means this all has to do something with user permissions or visibility of data within the program files directory.

I have no clue as to why this happens. What is certain is that on broken installations (where the perspective did not show up after installation), starting Eclipse using the "Run as Administrator" Windows 7 feature will show a different list of installed components (lacking the one with the missing perspective) than the same installation started as a regular user (where the perspective is missing but the plugin is listed as installed) (Help -> Install New Software... -> "What is already installed?"-Link).

I am running the 64-Bit version of Windows 7.
Comment 5 Camille Letavernier CLA 2013-07-05 12:19:53 EDT
I close this task