Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Offline Papyrus installation starting from eclipse-MDT(Help me installing Papyrus on an existing eclipse-MDT build)
Offline Papyrus installation starting from eclipse-MDT [message #1734544] Thu, 09 June 2016 09:45 Go to next message
Timothee Fivaz is currently offline Timothee FivazFriend
Messages: 5
Registered: June 2016
Junior Member
Hello all,

[TL;DR in bold at the bottom]

I am trying to install Papyrus Tools to view and edit UML diagrams on the same environment than the one used to develop embedded C applications. I already tried to install it starting from an eclipse-CDT build (4.5.2 Mars) and since the CDT Tools are really easy to install, I've decided to start from eclipse-MDT and to install both Papyrus and CDT on this build. I know I could use the Papyrus package and add CDT and my other plugins on it but I would prefer to start from CDT or MDT for some off-topic reasons. If this is the only option I have I will accept it anyway.

I cannot use the update site from eclipse [company network issues], therefore all my plugins are installed by downloading the update site archives.

This is it for the context. Now what I have tried is to :
1) Download the eclipse Modelling Tools package here : https://eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/mars/2/eclipse-modeling-mars-2-win32-x86_64.zip
2) Extract it on my installation directory
3) Download Papyrus update site 1.1.4 here : https://www.eclipse.org/downloads/download.php?file=/modeling/mdt/papyrus/downloads/drops/1.1.4/R201602100646/Papyrus-Update-1.1.4.zip&protocol=http
4) Run the previously installed eclipse and select Install new software, add the Papyrus update site archive and select "Papyrus UML" and "Papyrus UML Developer Resources" (See attachment Papyrus_Installation.PNG)
5) Next and face the following errors (The operation cannot complete, no alternative proposed) :

Quote:
Cannot complete the install because one or more required items could not be found.
Software being installed: Papyrus UML 1.1.4.201602101200 (org.eclipse.papyrus.sdk.feature.feature.group 1.1.4.201602101200)
Missing requirement: CSS3 Xtext Editor 1.1.4.201602101200 (org.eclipse.papyrus.infra.gmfdiag.css3.xtext 1.1.4.201602101200) requires 'bundle org.eclipse.xtext.xbase.lib 0.0.0' but it could not be found
Cannot satisfy dependency:
From: CSS Configuration 1.1.4.201602101200 (org.eclipse.papyrus.infra.gmfdiag.css.configuration 1.1.4.201602101200)
To: bundle org.eclipse.papyrus.infra.gmfdiag.css3.xtext 1.1.4
Cannot satisfy dependency:
From: Papyrus CSS Feature 1.1.4.201602101200 (org.eclipse.papyrus.infra.gmfdiag.css.feature.feature.group 1.1.4.201602101200)
To: org.eclipse.papyrus.infra.gmfdiag.css.configuration [1.1.4.201602101200]
Cannot satisfy dependency:
From: Papyrus UML 1.1.4.201602101200 (org.eclipse.papyrus.sdk.feature.feature.group 1.1.4.201602101200)
To: org.eclipse.papyrus.infra.gmfdiag.css.feature.feature.group [1.1.4.201602101200]


Now I don't really know how I am supposed to deal with this issue, which is why I post this thread. Should I manually track all the missing dependencies and look for their corresponding plugin, then install it ? Or am I missing a point and trying to use some deprecated package ?

Tracking all dependencies seems the most logical way to go, however after spending a few hours on this way I feel like each missing dependency that I try to add has its own missing dependencies issues. Since it looks like an endless recursive process I wonder if someone here could indicate me if there is an easy way to install Papyrus from a clean eclipse MDT or CDT package only using offline update sites.

Thank you for any help you can provide

Final edit : As mentioned below, Papyrus has a lot of dependencies not included in the update-site, and these dependencies are usually managed by the eclipse pack installer. Therefore the only real solution to this issue is to install everything online and to export the built version to the computer in the problematic network. Even though it's not really a solution since it misses the 'offline' point, it's the only workaround found at the moment.

[Updated on: Mon, 27 June 2016 11:41]

Report message to a moderator

Re: Offline Papyrus installation starting from eclipse-MDT [message #1734647 is a reply to message #1734544] Fri, 10 June 2016 07:31 Go to previous messageGo to next message
Benoit Maggi is currently offline Benoit MaggiFriend
Messages: 129
Registered: March 2013
Location: Bordeaux, France
Senior Member
Hi,

- The easiest way would probably to do it at home where you have access to eclipse update site
the zip the install and took it back to work

- you can also download the official Papyrus and copy/paste all plugins in your CDT installation \dropins directory

- you can check if your proxy let oomph pass

Otherwise here is a rapid list of Papyrus Main dependencies : EMF,GEF,GMT,GMFT,UML2,XWT, Orbit (Guava+ Apache Batik)

Good luck
Benoit
Re: Offline Papyrus installation starting from eclipse-MDT [message #1734665 is a reply to message #1734647] Fri, 10 June 2016 08:37 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 952
Registered: February 2011
Senior Member
Hi,

Papyrus doesn't support all-in-one installation. The best way would be to:

- Do the installation where you have a full network access
- Create a new Update Site Project
- Add the Papyrus SDK Feature to this update site
- Open site.xml and click "Build All"

This will produce a true all-in-one update site for Papyrus (Including all its dependencies). You can then zip this update site and use it for an offline installation

This is also much cleaner than using Dropins or copy-paste installations, as this will go through the standard P2 Installation, including dependency/conflict resolution, etc.

HTH,
Camille


Camille Letavernier
Re: Offline Papyrus installation starting from eclipse-MDT [message #1734695 is a reply to message #1734665] Fri, 10 June 2016 11:52 Go to previous messageGo to next message
Timothee Fivaz is currently offline Timothee FivazFriend
Messages: 5
Registered: June 2016
Junior Member
Hi Benoit and Camille, thank you for your answers.

I will try an installation on a computer with a full network access and create an update site, I did not know this feature and it looks promising.

Anyway I thought that using an offline update site was equivalent to using the online update site. By reading your answers I guess that the installation manager will look for the required dependencies by itself even if they are in another update site than the one chosen, is that correct ?

I assumed that installing Papyrus from its update site was somehow the same than clicking on "Install more modeling components ==> Papyrus".

I'll post an update as soon as I manage to have one of your solutions working.
Re: Offline Papyrus installation starting from eclipse-MDT [message #1734704 is a reply to message #1734695] Fri, 10 June 2016 12:38 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 952
Registered: February 2011
Senior Member
Hi,

In both cases, the Papyrus update site only contains the Papyrus artifacts. In both cases, it will try to find dependencies in other update sites if you check "Contact all update sites during install to find required software". Especially, Papyrus dependencies are located in the default Eclipse update site: http://download.eclipse.org/releases/mars

The issue is that this Release update site only exists as a web URL (As far as I know). So if you don't have internet access, you won't be able to find Papyrus dependencies (And we have a lot of dependencies). If you could find a zipped version of the Eclipse Mars Release update site, then everything would be fine (However, a zipped version of all Eclipse plug-ins would be very heavy, like several gigabytes, so I guess that's why they don't do it)


Camille Letavernier
Re: Offline Papyrus installation starting from eclipse-MDT [message #1756106 is a reply to message #1734665] Sat, 11 March 2017 12:43 Go to previous message
Todd Chilson is currently offline Todd ChilsonFriend
Messages: 2
Registered: March 2017
Junior Member
I received the following error trying to install Papyrus. I followed your instructions, but I do not see how to add the features to site.xml. What am I doing wrong?

Cannot complete the install because one or more required items could not be found.
Software being installed: Papyrus UML 1.1.4.201602101200 (org.eclipse.papyrus.sdk.feature.feature.group 1.1.4.201602101200)
Missing requirement: Papyrus Palette Customization 1.1.4.201602101200 (org.eclipse.papyrus.customization.palette 1.1.4.201602101200) requires 'bundle org.eclipse.gmf.runtime.diagram.ui 1.5.0' but it could not be found
Cannot satisfy dependency:
From: Papyrus customization 1.1.4.201602101200 (org.eclipse.papyrus.customization.feature.feature.group 1.1.4.201602101200)
To: org.eclipse.papyrus.customization.palette [1.1.4.201602101200]
Cannot satisfy dependency:
From: Papyrus UML 1.1.4.201602101200 (org.eclipse.papyrus.sdk.feature.feature.group 1.1.4.201602101200)
To: org.eclipse.papyrus.customization.feature.feature.group [1.1.4.201602101200]
Previous Topic:SVGs throwing uncaught exceptions in papyrus.infra.core plugin
Next Topic:order of the ends of a binary association
Goto Forum:
  


Current Time: Fri Apr 19 14:41:58 GMT 2024

Powered by FUDForum. Page generated in 0.01973 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top