Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Papyrus-RT/User/User Guide/Installation"

(Created page with "Given its relative youth, there are currently multiple steps that need to be taken in order to install Papyrus-RT. We are hoping to make this easier in the near future. ==Ins...")
 
Line 1: Line 1:
Given its relative youth, there are currently multiple steps that need to be taken in order to install Papyrus-RT. We are hoping to make this easier in the near future.
 
  
==Install Papyrus==
+
= Installing Papyrus for Real Time =
  
The first step is to install the current release of Papyrus.
+
This tutorial will show you how to install Papyrus for Real Time.
  
===Install Papyrus from scratch===
 
  
If you are starting from scratch, follow the steps in the "[https://www.youtube.com/watch?v=hgKjzr2pXzI Provisioning a Papyrus Development IDE with Oomph]" video on YouTube.
+
'''Note''': You will need Java 1.7 installed.
  
===Install Papyrus in an existing Eclipse environment===
 
  
# First make sure that you are running a current installation (at least Mars), update/upgrade if you are not.
+
'''Note''': The instructions in this tutorial are illustrated using Linux. Steps and images may differ slightly if the installation is done on a different operating system (both Windows and Mac OS are supported for developing models). Some of these differences have been indicated when known, but some may also be missing.
# You can then add the Papyrus components by using the "Add -> Install New Software" menu command.
+
## In the dialog, expand the "Modeling" Category
+
## Select the "Papyrus UML" entry
+
## Click [Next] twice
+
## Accept the terms of the license agreement and click [Finish]
+
  
Papyrus is now installed in your existing Eclipse environment.
 
  
==Install Papyrus for Real Time==
+
== 1. Install a base Eclipse platform ==
  
===Install Papyrus for Real Time's modeling components===
+
First, we will install a base Eclipse package upon which we will be able to add the required software component for Papyrus for Real Time.
  
You now need to install some of Papyrus' "Additional Components" that provide the modeling (user interface) components of Papyrus for Real Time.
 
  
# Click on the Papyrus icon in the toolbar (it looks like a green Ibis bird)
+
'''Note''': If you are installing into an existing Eclipse workbench, skip this step and go directly to step 2.
# From the dialog, select the "RealTime (Incubation)" Component and click [Finish].
+
  
The Papyrus for Real Time modeling components are now installed.
 
  
===Install Papyrus for Real Time's code generation and runtime components===
+
=== 1.1 Install a base Eclipse package ===
  
You can now install the code generation and runtime service library components.
+
# Go to [http://eclipse.org/downloads/ http://eclipse.org/downloads/]
 +
# Download the "'''Eclipse IDE for Java Developers'''" package for your operating system
 +
# Decompress the downloaded archive to a folder such as "'''~/Apps/Papyrus-RT'''" ''(folder name and location will vary depending on operating system)''
  
# Select the "Add -> Install New Software" menu command.
+
'''Note''': The base Eclipse IDE for Java Developers package does not include Papyrus, which is the base for Papyrus for Realtime. We will need to install Papyrus for Real Time after this base package is installed
# Add a new repository:<br/>Name: Papyrus-rt codegen and runtime<br/>Location: <nowiki>http://download.eclipse.org/papyrus-rt/builds/nightly</nowiki>
+
<blockquote>''We do not currently have any formal releases of these components and you must rely on the nightly builds for now.''</blockquote>
+
# Select both the "Papyrus-RT Code Generator" and "Papyrus-RT Run-Time System"
+
  <blockquote>'''Please be careful to _NOT_ install the "Papyrus-RT Protocol Editor" component, if shown. It is an older prototype that will cause problems with the new version already part of the "RealTime (Incubation)" Papyrus additional component.'''</blockquote>
+
# Click [Next] twice
+
# Accept the terms of the license agreement and click [Finish]
+
  
All The Papyrus for Real Time components are now installed!
+
 
 +
<div  class="figure">[[File:PapyrusRT-install-a-base-eclipse-package.png]]
 +
</div>
 +
=== 1.2 Start Eclipse ===
 +
 
 +
# Go to the folder where you extracted Eclipse (from the previous step)
 +
# Run &quot;'''eclipse'''&quot; (''the executable name and representation may vary depending on operating system - Linux shown below'')
 +
 
 +
<div  class="figure">[[File:PapyrusRT-start-eclipse.png]]
 +
</div>
 +
=== 1.3 Eclipse is now running ===
 +
 
 +
The &quot;'''Welcome'''&quot; view is the default view after installing Eclipse.
 +
 
 +
 
 +
<div  class="figure">[[File:PapyrusRT-eclipse-is-now-running.png]]
 +
</div>
 +
== 2. Install Papyrus ==
 +
 
 +
Now that a base Eclipse environment is installed and available, we will install the remaining components needed for Papyrus for Real Time.
 +
 
 +
 
 +
The base for Papyrus for Real Time is, of course, Papyrus UML. Since the base Eclipse IDE for Java Developers package we installed in the previous steps does not include Papyrus, let's install it first.
 +
 
 +
 
 +
=== 2.1 Install New Software ===
 +
 
 +
# Select the &quot;'''Help &gt; Install New Software'''&quot; menu item
 +
 
 +
<div  class="figure">[[File:PapyrusRT-install-new-software.png]]
 +
</div>
 +
=== 2.2 Select to install Papyrus UML ===
 +
 
 +
# From the &quot;Work with&quot; field's drop-down menu, select &quot;'''Mars - http://download.eclipse.org/releases/mars'''&quot;
 +
# In the &quot;'''Type filter text'''&quot; field, type &quot;'''Papyrus'''&quot;
 +
# Select &quot;'''Papyrus UML'''&quot; from the results
 +
# Click '''[Next]'''
 +
 
 +
<div  class="figure">[[File:PapyrusRT-select-to-install-papyrus-uml.png]]
 +
</div>
 +
=== 2.3 Install Details ===
 +
 
 +
After checking all the dependencies, you are presented with a dialog to &quot;Review the items to be installed&quot;
 +
 
 +
 
 +
# Click '''[Next &gt;]'''
 +
 
 +
<div  class="figure">[[File:PapyrusRT-install-details.png]]
 +
</div>
 +
=== 2.4 Review Licenses ===
 +
 
 +
You will now need to review and accept the terms of the license agreement before installing.
 +
 
 +
 
 +
# Read the terms
 +
# Accept the terms
 +
# Click '''[Finish]'''
 +
 
 +
<div  class="figure">[[File:PapyrusRT-review-licenses.png]]
 +
</div>
 +
=== 2.5 Restart the workbench ===
 +
 
 +
After all components have been downloaded and installed, you will have to restart the workbench.
 +
 
 +
 
 +
# Click on '''[Yes]'''
 +
 
 +
<div  class="figure">[[File:PapyrusRT-restart-the-workbench.png]]
 +
</div>
 +
=== 2.6 Papyrus is now installed in the Eclipse workbench ===
 +
 
 +
<div  class="figure">[[File:PapyrusRT-papyrus-is-now-installed-in-the-eclipse-workbench.png]]
 +
</div>
 +
== 3. Update Papyrus ==
 +
 
 +
The version of Papyrus that was just installed is the Mars release version. For Papyrus for Real Time, we need a more recent version, which can be found in a in a separate location.
 +
 
 +
 
 +
=== 3.1 Define the location for the new version ===
 +
 
 +
Defining a new location is similar to installing new software.
 +
 
 +
 
 +
# Select the &quot;'''Help &gt; Install New Software'''&quot; menu item
 +
 
 +
<div  class="figure">[[File:PapyrusRT-define-the-location-for-the-new-version.png]]
 +
</div>
 +
=== 3.2 Add a new site ===
 +
 
 +
Because the Papyrus for Real Time is still in incubation and not part of the Mars release train, we will have to add a new location from which components can be installed.
 +
 
 +
 
 +
# Click on '''[Add...]'''
 +
 
 +
<div  class="figure">[[File:PapyrusRT-add-a-new-site.png]]
 +
</div>
 +
=== 3.3 Add a new repository ===
 +
 
 +
In the resulting dialog, enter the following information:
 +
 
 +
 
 +
# '''Name''' : Papyrus Mars releases
 +
# '''Location''' : [http://download.eclipse.org/modeling/mdt/papyrus/updates/releases/mars http://download.eclipse.org/modeling/mdt/papyrus/updates/releases/mars]
 +
# Click '''[OK]'''
 +
 
 +
<div  class="figure">[[File:PapyrusRT-add-a-new-repository-papyrus.png]]
 +
</div>
 +
=== 3.4 Select the software to install ===
 +
 
 +
# Select &quot;'''Papyrus'''&quot; (and nothing else)
 +
# Click '''[Next]'''
 +
 
 +
<div  class="figure">[[File:PapyrusRT-select-the-software-to-install.png]]
 +
</div>
 +
=== 3.5 Installation details ===
 +
 
 +
The system determines that since Papyrus UML is already installed, an update will be performed instead, which is what we wanted.
 +
 
 +
 
 +
# The system informs you that the request to install the new software has been modified and that
 +
# An update will be performed instead
 +
# Click '''[Next]'''
 +
 
 +
<div  class="figure">[[File:PapyrusRT-installation-details.png]]
 +
</div>
 +
=== 3.6 Review the license and accept its terms ===
 +
 
 +
=== 3.7 Restart the workbench ===
 +
 
 +
After all updated components have been downloaded and installed, you will have to restart the workbench.
 +
 
 +
 
 +
# Click on '''[Yes]'''
 +
 
 +
<div  class="figure">[[File:PapyrusRT-restart-the-workbench.png]]
 +
</div>
 +
== 4. Install the Papyrus for Real Time Components ==
 +
 
 +
Now that we have a good version of Papyrus, we can install the Papyrus for Real Time components:
 +
 
 +
 
 +
* The core and feature components for the user interface
 +
* The profile provides the DSML basics for UML-RT
 +
* The code generator translates the UML-RT model into C++ source code
 +
* The runtime service library provides the framework and infrastructure to be able to execute the code generated from UML-RT models The runtime service library also provides a UML model library of UML-RT constructs that are useful when modeling.
 +
 
 +
=== 4.1 Install the new software ===
 +
 
 +
# Select the &quot;'''Help &gt; Install New Software'''&quot; menu item
 +
 
 +
<div  class="figure">[[File:PapyrusRT-install-the-new-software.png]]
 +
</div>
 +
=== 4.2 Add a new site ===
 +
 
 +
Because the Papyrus for Real Time is still in incubation and not part of the Mars release train, we will have to add a new location from which components can be installed.
 +
 
 +
 
 +
# Click on '''[Add...]'''
 +
 
 +
<div  class="figure">[[File:PapyrusRT-add-a-new-site.png]]
 +
</div>
 +
=== 4.3 Add a new repository ===
 +
 
 +
In the resulting dialog, enter the following information:
 +
 
 +
 
 +
# Name : Papyrus-RT 0.7.0 Release
 +
# Location : [http://download.eclipse.org/papyrus-rt/updates/releases/mars/0.7.0/ http://download.eclipse.org/papyrus-rt/updates/releases/mars/0.7.0/]
 +
# Click '''[OK]'''
 +
 
 +
<div  class="figure">[[File:PapyrusRT-add-a-new-repository-papyrusrt.png]]
 +
</div>
 +
=== 4.4 Pick from available software ===
 +
 
 +
There is only one component, so the choice is easy
 +
 
 +
 
 +
# Select the &quot;'''PapyrusRT'''&quot; item
 +
# Click '''[Next]'''
 +
 
 +
<div  class="figure">[[File:PapyrusRT-pick-from-available-software.png]]
 +
</div>
 +
=== 4.5 Review the items to install ===
 +
 
 +
After checking all the dependencies, you are presented with a dialog to &quot;Review the items to be installed&quot;.
 +
 
 +
 
 +
# Click '''[Next]'''
 +
 
 +
<div  class="figure">[[File:PapyrusRT-review-the-items-to-install.png]]
 +
</div>
 +
=== 4.6 Review Licenses ===
 +
 
 +
One last time, you will now need to review and accept the terms of the license agreement for the new software before installing.
 +
 
 +
 
 +
# Read the terms
 +
# Accept the terms
 +
# Click '''[Finish]'''
 +
 
 +
<div  class="figure">[[File:PapyrusRT-review-licenses.png]]
 +
</div>
 +
=== 4.7 Agree to install the software ===
 +
 
 +
As this software is still in incubation, some of the components are still unsigned.
 +
 
 +
 
 +
# Click '''[OK]'''
 +
 
 +
<div  class="figure">[[File:PapyrusRT-agree-to-install-the-software.png]]
 +
</div>
 +
=== 4.8 Restart the workbench ===
 +
 
 +
After all Papyrus for Real Time components have been downloaded and installed, you will have to restart the workbench.
 +
 
 +
 
 +
# Click on '''[Yes]'''
 +
 
 +
<div  class="figure">[[File:PapyrusRT-restart-the-workbench.png]]
 +
</div>
 +
== 5. Switch to the Papyrus perspective ==
 +
 
 +
We can now switch to the Papyrus perspective in order to start modeling.
 +
 
 +
 
 +
=== 5.1 Close the welcome page ===
 +
 
 +
# Click on the big arrow, at the top right, to close the welcome view
 +
 
 +
<div  class="figure">[[File:PapyrusRT-close-the-welcome-page.png]]
 +
</div>
 +
=== 5.2 Open the Papyrus Perspective ===
 +
 
 +
# Click on the &quot;Open Perspective&quot; button, just left of the Java Perspective
 +
# Select the &quot;'''Papyrus'''&quot; entry
 +
# Click '''[OK]'''
 +
 
 +
<div  class="figure">[[File:PapyrusRT-open-the-papyrus-perspective.png]]
 +
</div>
 +
=== 5.3 [Optional] Remove the Java perspective ===
 +
 
 +
If you do not need the Java perspective, you can remove it.
 +
 
 +
 
 +
# Right click on the Java perspective icon
 +
# Select &quot;'''Close'''&quot;
 +
 
 +
<div  class="figure">[[File:PapyrusRT-optional-remove-the-java-perspective.png]]
 +
</div>
 +
== 6. Set the viewpoint for UML-RT ==
 +
 
 +
In order to get all the benefits from Papyrus for Real Time, you will need to set the correct Papyrus viewpoint.
 +
 
 +
 
 +
=== 6.1 Open Preferences ===
 +
 
 +
# Select &quot;Window''* &gt; Preferences'''&quot; (''&quot;****Eclipse &gt; Preferences'''''''&quot; on Mac*)
 +
 
 +
<div  class="figure">[[File:PapyrusRT-open-preferences.png]]
 +
</div>
 +
=== 6.2 Open and set Papyrus preferences ===
 +
 
 +
in the &quot;'''Preferences'''&quot; dialog:
 +
 
 +
 
 +
# Expand &quot;'''Papyrus'''&quot;
 +
# Select &quot;'''Viewpoints Configuration'''&quot;
 +
# Select &quot;'''Deployed through the extension point'''&quot;
 +
# Make sure that the following fields contain the right information: '''Stakeholder''': UML-RT Modeler '''Viewpoint''': UMLRT Viewpoint
 +
# Click '''[OK]'''
 +
 
 +
<div  class="figure">[[File:PapyrusRT-open-and-set-papyrus-preferences.png]]
 +
</div>
 +
== 7. Done! You are now ready to create models! ==
 +
 
 +
== 8. &laquo;WORKAROUND&raquo; IN CASE OF DUPLICATE MENUS ==
 +
 
 +
'''&laquo;WORKAROUND&raquo;'''
 +
 
 +
 
 +
For older installation, there is a possibility that duplicate menu items (especially context menu items) appear in the user interface. This is due to &quot;legacy&quot; plugins that are brought into the installation through incorrect dependencies. These plugins are (where &quot;xxx&quot; are a date identifier: YYYYMMDDHHmm):
 +
 
 +
 
 +
* org.eclipse.papyrus.umlrt.properties_1.1.0.xxxxxxxxxxxx.jar
 +
* org.eclipse.papyrus.umlrt.ui_1.1.0.xxxxxxxxxxxx.jar
 +
* org.eclipse.papyrus.umlrt.validation_1.1.0.xxxxxxxxxxxx.jar
 +
* org.eclipse.papyrus.umlrt.wizard_1.1.1.1.0.xxxxxxxxxxxx.jar
 +
 
 +
If this occurs, this situation is easily remedied by following these steps:
 +
 
 +
 
 +
# Shut down Eclipse
 +
# Start a terminal (shell)
 +
# Go to the folder where you installed Eclipse, in step 1.1 If you followed the recommendation, that would be &quot;'''cd ~/Apps/Papyrus-RT'''&quot;
 +
# Change directory to the plugins directory: &quot;'''cd eclipse/plugins'''&quot;
 +
# Remove all the unneccessary plugins: &quot;''''rm -rf org.eclipse.papyrus.umlrt.''&quot;''*
 +
# Start up Eclipse
 +
 
 +
The same result can be accomplished using a file browser, being careful on the files to be removed!
 +
 
 +
 
 +
The duplicate menus should now be gone.

Revision as of 15:28, 26 August 2015

Installing Papyrus for Real Time

This tutorial will show you how to install Papyrus for Real Time.


Note: You will need Java 1.7 installed.


Note: The instructions in this tutorial are illustrated using Linux. Steps and images may differ slightly if the installation is done on a different operating system (both Windows and Mac OS are supported for developing models). Some of these differences have been indicated when known, but some may also be missing.


1. Install a base Eclipse platform

First, we will install a base Eclipse package upon which we will be able to add the required software component for Papyrus for Real Time.


Note: If you are installing into an existing Eclipse workbench, skip this step and go directly to step 2.


1.1 Install a base Eclipse package

  1. Go to http://eclipse.org/downloads/
  2. Download the "Eclipse IDE for Java Developers" package for your operating system
  3. Decompress the downloaded archive to a folder such as "~/Apps/Papyrus-RT" (folder name and location will vary depending on operating system)

Note: The base Eclipse IDE for Java Developers package does not include Papyrus, which is the base for Papyrus for Realtime. We will need to install Papyrus for Real Time after this base package is installed


PapyrusRT-install-a-base-eclipse-package.png

1.2 Start Eclipse

  1. Go to the folder where you extracted Eclipse (from the previous step)
  2. Run "eclipse" (the executable name and representation may vary depending on operating system - Linux shown below)
PapyrusRT-start-eclipse.png

1.3 Eclipse is now running

The "Welcome" view is the default view after installing Eclipse.


PapyrusRT-eclipse-is-now-running.png

2. Install Papyrus

Now that a base Eclipse environment is installed and available, we will install the remaining components needed for Papyrus for Real Time.


The base for Papyrus for Real Time is, of course, Papyrus UML. Since the base Eclipse IDE for Java Developers package we installed in the previous steps does not include Papyrus, let's install it first.


2.1 Install New Software

  1. Select the "Help > Install New Software" menu item
PapyrusRT-install-new-software.png

2.2 Select to install Papyrus UML

  1. From the "Work with" field's drop-down menu, select "Mars - http://download.eclipse.org/releases/mars"
  2. In the "Type filter text" field, type "Papyrus"
  3. Select "Papyrus UML" from the results
  4. Click [Next]
PapyrusRT-select-to-install-papyrus-uml.png

2.3 Install Details

After checking all the dependencies, you are presented with a dialog to "Review the items to be installed"


  1. Click [Next >]
PapyrusRT-install-details.png

2.4 Review Licenses

You will now need to review and accept the terms of the license agreement before installing.


  1. Read the terms
  2. Accept the terms
  3. Click [Finish]
PapyrusRT-review-licenses.png

2.5 Restart the workbench

After all components have been downloaded and installed, you will have to restart the workbench.


  1. Click on [Yes]
PapyrusRT-restart-the-workbench.png

2.6 Papyrus is now installed in the Eclipse workbench

PapyrusRT-papyrus-is-now-installed-in-the-eclipse-workbench.png

3. Update Papyrus

The version of Papyrus that was just installed is the Mars release version. For Papyrus for Real Time, we need a more recent version, which can be found in a in a separate location.


3.1 Define the location for the new version

Defining a new location is similar to installing new software.


  1. Select the "Help > Install New Software" menu item

3.2 Add a new site

Because the Papyrus for Real Time is still in incubation and not part of the Mars release train, we will have to add a new location from which components can be installed.


  1. Click on [Add...]
PapyrusRT-add-a-new-site.png

3.3 Add a new repository

In the resulting dialog, enter the following information:


  1. Name : Papyrus Mars releases
  2. Location : http://download.eclipse.org/modeling/mdt/papyrus/updates/releases/mars
  3. Click [OK]
PapyrusRT-add-a-new-repository-papyrus.png

3.4 Select the software to install

  1. Select "Papyrus" (and nothing else)
  2. Click [Next]
PapyrusRT-select-the-software-to-install.png

3.5 Installation details

The system determines that since Papyrus UML is already installed, an update will be performed instead, which is what we wanted.


  1. The system informs you that the request to install the new software has been modified and that
  2. An update will be performed instead
  3. Click [Next]
PapyrusRT-installation-details.png

3.6 Review the license and accept its terms

3.7 Restart the workbench

After all updated components have been downloaded and installed, you will have to restart the workbench.


  1. Click on [Yes]
PapyrusRT-restart-the-workbench.png

4. Install the Papyrus for Real Time Components

Now that we have a good version of Papyrus, we can install the Papyrus for Real Time components:


  • The core and feature components for the user interface
  • The profile provides the DSML basics for UML-RT
  • The code generator translates the UML-RT model into C++ source code
  • The runtime service library provides the framework and infrastructure to be able to execute the code generated from UML-RT models The runtime service library also provides a UML model library of UML-RT constructs that are useful when modeling.

4.1 Install the new software

  1. Select the "Help > Install New Software" menu item
PapyrusRT-install-the-new-software.png

4.2 Add a new site

Because the Papyrus for Real Time is still in incubation and not part of the Mars release train, we will have to add a new location from which components can be installed.


  1. Click on [Add...]
PapyrusRT-add-a-new-site.png

4.3 Add a new repository

In the resulting dialog, enter the following information:


  1. Name : Papyrus-RT 0.7.0 Release
  2. Location : http://download.eclipse.org/papyrus-rt/updates/releases/mars/0.7.0/
  3. Click [OK]
PapyrusRT-add-a-new-repository-papyrusrt.png

4.4 Pick from available software

There is only one component, so the choice is easy


  1. Select the "PapyrusRT" item
  2. Click [Next]
PapyrusRT-pick-from-available-software.png

4.5 Review the items to install

After checking all the dependencies, you are presented with a dialog to "Review the items to be installed".


  1. Click [Next]
PapyrusRT-review-the-items-to-install.png

4.6 Review Licenses

One last time, you will now need to review and accept the terms of the license agreement for the new software before installing.


  1. Read the terms
  2. Accept the terms
  3. Click [Finish]
PapyrusRT-review-licenses.png

4.7 Agree to install the software

As this software is still in incubation, some of the components are still unsigned.


  1. Click [OK]
PapyrusRT-agree-to-install-the-software.png

4.8 Restart the workbench

After all Papyrus for Real Time components have been downloaded and installed, you will have to restart the workbench.


  1. Click on [Yes]
PapyrusRT-restart-the-workbench.png

5. Switch to the Papyrus perspective

We can now switch to the Papyrus perspective in order to start modeling.


5.1 Close the welcome page

  1. Click on the big arrow, at the top right, to close the welcome view
PapyrusRT-close-the-welcome-page.png

5.2 Open the Papyrus Perspective

  1. Click on the "Open Perspective" button, just left of the Java Perspective
  2. Select the "Papyrus" entry
  3. Click [OK]
PapyrusRT-open-the-papyrus-perspective.png

5.3 [Optional] Remove the Java perspective

If you do not need the Java perspective, you can remove it.


  1. Right click on the Java perspective icon
  2. Select "Close"
PapyrusRT-optional-remove-the-java-perspective.png

6. Set the viewpoint for UML-RT

In order to get all the benefits from Papyrus for Real Time, you will need to set the correct Papyrus viewpoint.


6.1 Open Preferences

  1. Select "Window* > Preferences" ("****Eclipse > Preferences''" on Mac*)
PapyrusRT-open-preferences.png

6.2 Open and set Papyrus preferences

in the "Preferences" dialog:


  1. Expand "Papyrus"
  2. Select "Viewpoints Configuration"
  3. Select "Deployed through the extension point"
  4. Make sure that the following fields contain the right information: Stakeholder: UML-RT Modeler Viewpoint: UMLRT Viewpoint
  5. Click [OK]
PapyrusRT-open-and-set-papyrus-preferences.png

7. Done! You are now ready to create models!

8. «WORKAROUND» IN CASE OF DUPLICATE MENUS

«WORKAROUND»


For older installation, there is a possibility that duplicate menu items (especially context menu items) appear in the user interface. This is due to "legacy" plugins that are brought into the installation through incorrect dependencies. These plugins are (where "xxx" are a date identifier: YYYYMMDDHHmm):


  • org.eclipse.papyrus.umlrt.properties_1.1.0.xxxxxxxxxxxx.jar
  • org.eclipse.papyrus.umlrt.ui_1.1.0.xxxxxxxxxxxx.jar
  • org.eclipse.papyrus.umlrt.validation_1.1.0.xxxxxxxxxxxx.jar
  • org.eclipse.papyrus.umlrt.wizard_1.1.1.1.0.xxxxxxxxxxxx.jar

If this occurs, this situation is easily remedied by following these steps:


  1. Shut down Eclipse
  2. Start a terminal (shell)
  3. Go to the folder where you installed Eclipse, in step 1.1 If you followed the recommendation, that would be "cd ~/Apps/Papyrus-RT"
  4. Change directory to the plugins directory: "cd eclipse/plugins"
  5. Remove all the unneccessary plugins: "'rm -rf org.eclipse.papyrus.umlrt."*
  6. Start up Eclipse

The same result can be accomplished using a file browser, being careful on the files to be removed!


The duplicate menus should now be gone.

Back to the top