Bug 526168 - [releng] Installation fails when using update site for Papyrus-RT 1.0 on Oxygen
Summary: [releng] Installation fails when using update site for Papyrus-RT 1.0 on Oxygen
Status: ASSIGNED
Alias: None
Product: Papyrus-rt
Classification: Modeling
Component: releng (show other bugs)
Version: 1.0.0   Edit
Hardware: All All
: P3 normal
Target Milestone: 1.0.1   Edit
Assignee: Ernesto Posse CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 526167
Blocks: 520039
  Show dependency tree
 
Reported: 2017-10-17 12:19 EDT by Ernesto Posse CLA
Modified: 2020-03-31 11:41 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ernesto Posse CLA 2017-10-17 12:19:52 EDT
There are several missing requirements.

When attempting to install all features you get:

Cannot complete the install because one or more required items could not be found.
  Software being installed: Papyrus-RT Compare Tooling Feature 1.0.0.201707181457 (org.eclipse.papyrusrt.umlrt.tooling.compare.feature.feature.group 1.0.0.201707181457)
  Missing requirement: Papyrus-RT UI 1.0.0.201707181457 (org.eclipse.papyrusrt.umlrt.tooling.ui 1.0.0.201707181457) requires 'bundle org.eclipse.papyrus.infra.properties [2.0.0,3.0.0)' but it could not be found
  Cannot satisfy dependency:
    From: Papyrus-RT Compare Model Edit Support 1.0.0.201707181457 (org.eclipse.papyrusrt.umlrt.tooling.compare.edit 1.0.0.201707181457)
    To: bundle org.eclipse.papyrusrt.umlrt.tooling.ui [1.0.0,2.0.0)
  Cannot satisfy dependency:
    From: Papyrus-RT Compare Tooling Feature 1.0.0.201707181457 (org.eclipse.papyrusrt.umlrt.tooling.compare.feature.feature.group 1.0.0.201707181457)
    To: org.eclipse.papyrusrt.umlrt.tooling.compare.edit [1.0.0.201707181457]


Unselecting the Compare features, it results in the following error:

Cannot complete the install because one or more required items could not be found.
  Software being installed: Papyrus-RT Textual UML-RT Feature (Beta) 1.0.0.201707181457 (org.eclipse.papyrusrt.xtumlrt.xtext.feature.feature.group 1.0.0.201707181457)
  Missing requirement: Papyrus-RT C++ Code Generator 1.0.0.201707181457 (org.eclipse.papyrusrt.codegen.cpp 1.0.0.201707181457) requires 'bundle org.eclipse.papyrus.designer.languages.common.base [1.0.4,2.0.0)' but it could not be found
  Cannot satisfy dependency:
    From: Papyrus-RT Textual Syntax UI (Beta) 1.0.0.201707181457 (org.eclipse.papyrusrt.xtumlrt.xtext.codegen.ui 1.0.0.201707181457)
    To: bundle org.eclipse.papyrusrt.codegen.cpp [1.0.0,2.0.0)
  Cannot satisfy dependency:
    From: Papyrus-RT Textual UML-RT Feature (Beta) 1.0.0.201707181457 (org.eclipse.papyrusrt.xtumlrt.xtext.feature.feature.group 1.0.0.201707181457)
    To: org.eclipse.papyrusrt.xtumlrt.xtext.codegen.ui [1.0.0.201707181457]


Also unselecting the Textual features results in the following error:

Cannot complete the install because one or more required items could not be found.
  Software being installed: Papyrus-RT Tooling Feature Developer Resources 1.0.0.201707181457 (org.eclipse.papyrusrt.umlrt.tooling.feature.source.feature.group 1.0.0.201707181457)
  Missing requirement: Papyrus-RT Diagrams Common 1.0.0.201707181457 (org.eclipse.papyrusrt.umlrt.tooling.diagram.common 1.0.0.201707181457) requires 'bundle org.eclipse.papyrus.infra.emf.types [3.0.0,4.0.0)' but it could not be found
  Cannot satisfy dependency:
    From: Papyrus-RT Tooling Feature 1.0.0.201707181457 (org.eclipse.papyrusrt.umlrt.tooling.feature.feature.group 1.0.0.201707181457)
    To: org.eclipse.papyrusrt.umlrt.tooling.diagram.common [1.0.0.201707181457]
  Cannot satisfy dependency:
    From: Papyrus-RT Tooling Feature Developer Resources 1.0.0.201707181457 (org.eclipse.papyrusrt.umlrt.tooling.feature.source.feature.group 1.0.0.201707181457)
    To: org.eclipse.papyrusrt.umlrt.tooling.feature.feature.group [1.0.0.201707181457]


Further unselecting the Tooling Developer Resources feature results in:

Cannot complete the install because one or more required items could not be found.
  Software being installed: Papyrus-RT RSA-RTE Importer (Beta) Developer Resources 1.0.0.201707181457 (org.eclipse.papyrusrt.umlrt.migration.rsa.feature.source.feature.group 1.0.0.201707181457)
  Missing requirement: Papyrus-RT RSA-RTE Model Import (Beta) 1.0.0.201707181457 (org.eclipse.papyrusrt.umlrt.migration.rsa 1.0.0.201707181457) requires 'bundle org.eclipse.papyrus.interoperability.rsa [1.4.0,2.0.0)' but it could not be found
  Cannot satisfy dependency:
    From: Papyrus-RT RSA-RTE Importer (Beta) 1.0.0.201707181457 (org.eclipse.papyrusrt.umlrt.migration.rsa.feature.feature.group 1.0.0.201707181457)
    To: org.eclipse.papyrusrt.umlrt.migration.rsa [1.0.0.201707181457]
  Cannot satisfy dependency:
    From: Papyrus-RT RSA-RTE Importer (Beta) Developer Resources 1.0.0.201707181457 (org.eclipse.papyrusrt.umlrt.migration.rsa.feature.source.feature.group 1.0.0.201707181457)
    To: org.eclipse.papyrusrt.umlrt.migration.rsa.feature.feature.group [1.0.0.201707181457]


Additionally unselecting the RSA-RTE Importer feature results in:

Cannot complete the install because one or more required items could not be found.
  Software being installed: Papyrus-RT C++ Code Generator Feature 1.0.0.201707181457 (org.eclipse.papyrusrt.codegen-feature.feature.group 1.0.0.201707181457)
  Missing requirement: Papyrus-RT C++ Code Generator 1.0.0.201707181457 (org.eclipse.papyrusrt.codegen.cpp 1.0.0.201707181457) requires 'bundle org.eclipse.papyrus.designer.languages.common.base [1.0.4,2.0.0)' but it could not be found
  Cannot satisfy dependency:
    From: Papyrus-RT C++ Code Generator Feature 1.0.0.201707181457 (org.eclipse.papyrusrt.codegen-feature.feature.group 1.0.0.201707181457)
    To: org.eclipse.papyrusrt.codegen.cpp [1.0.0.201707181457]


Also unselecting the C++ Code Generator feature results in:

Cannot complete the install because one or more required items could not be found.
  Software being installed: Papyrus-RT Core C++ Feature 1.0.0.201707181445 (org.eclipse.papyrusrt.umlrt.cpp.feature.feature.group 1.0.0.201707181445)
  Missing requirement: Papyrus-RT Libraries for C++ 1.0.0.201707181445 (org.eclipse.papyrusrt.umlrt.cpp 1.0.0.201707181445) requires 'bundle org.eclipse.papyrus.designer.languages.cpp.library 0.7.0' but it could not be found
  Cannot satisfy dependency:
    From: Papyrus-RT Core C++ Feature 1.0.0.201707181445 (org.eclipse.papyrusrt.umlrt.cpp.feature.feature.group 1.0.0.201707181445)
    To: org.eclipse.papyrusrt.umlrt.cpp [1.0.0.201707181445]


And also unselecting the Code C++ features results in:

Cannot complete the install because one or more required items could not be found.
  Software being installed: Papyrus-RT Modelling Feature Developer Resources 1.0.0.201707202117 (org.eclipse.papyrusrt.feature.source.feature.group 1.0.0.201707202117)
  Missing requirement: Papyrus-RT Diagrams Common 1.0.0.201707181457 (org.eclipse.papyrusrt.umlrt.tooling.diagram.common 1.0.0.201707181457) requires 'bundle org.eclipse.papyrus.infra.emf.types [3.0.0,4.0.0)' but it could not be found
  Cannot satisfy dependency:
    From: Papyrus-RT Base Feature 1.0.0.201707202117 (org.eclipse.papyrusrt.base.feature.feature.group 1.0.0.201707202117)
    To: org.eclipse.papyrusrt.umlrt.tooling.feature.feature.group [1.0.0.201707181457]
  Cannot satisfy dependency:
    From: Papyrus-RT Base Feature Developer Resources 1.0.0.201707202117 (org.eclipse.papyrusrt.base.feature.source.feature.group 1.0.0.201707202117)
    To: org.eclipse.papyrusrt.base.feature.feature.group [1.0.0.201707202117]
  Cannot satisfy dependency:
    From: Papyrus-RT Modelling Feature Developer Resources 1.0.0.201707202117 (org.eclipse.papyrusrt.feature.source.feature.group 1.0.0.201707202117)
    To: org.eclipse.papyrusrt.base.feature.source.feature.group [1.0.0.201707202117]
  Cannot satisfy dependency:
    From: Papyrus-RT Tooling Feature 1.0.0.201707181457 (org.eclipse.papyrusrt.umlrt.tooling.feature.feature.group 1.0.0.201707181457)
    To: org.eclipse.papyrusrt.umlrt.tooling.diagram.common [1.0.0.201707181457]

Removing the Modelling Feature Developer Resources results in:

Cannot complete the install because one or more required items could not be found.
  Software being installed: Papyrus-RT Tooling Feature 1.0.0.201707181457 (org.eclipse.papyrusrt.umlrt.tooling.feature.feature.group 1.0.0.201707181457)
  Missing requirement: Papyrus-RT Diagrams Common 1.0.0.201707181457 (org.eclipse.papyrusrt.umlrt.tooling.diagram.common 1.0.0.201707181457) requires 'bundle org.eclipse.papyrus.infra.emf.types [3.0.0,4.0.0)' but it could not be found
  Cannot satisfy dependency:
    From: Papyrus-RT Tooling Feature 1.0.0.201707181457 (org.eclipse.papyrusrt.umlrt.tooling.feature.feature.group 1.0.0.201707181457)
    To: org.eclipse.papyrusrt.umlrt.tooling.diagram.common [1.0.0.201707181457]


Summarizing, the install is missing (at least) the following bundles:

1) org.eclipse.papyrus.infra.emf.types [3.0.0,4.0.0)
2) org.eclipse.papyrus.infra.properties [2.0.0,3.0.0)
3) org.eclipse.papyrus.designer.languages.cpp.library 0.7.0
4) org.eclipse.papyrus.designer.languages.common.base [1.0.4,2.0.0)
5) org.eclipse.papyrus.interoperability.rsa [1.4.0,2.0.0)

Bundles 1 and 2 are no longer available at the Papyrus update sites since they have been back-ported from the master branch (which is already in Photon) to the streams/3.0-maintenance branch. The updated Papyrus Oxygen has now been published as 3.2 to http://download.eclipse.org/modeling/mdt/papyrus/updates/milestones/3.2/. 

Bundles 3 and 4 are available at the Papyrus Designer update site: http://download.eclipse.org/modeling/mdt/papyrus/components/designer/neon/1.0.4_papyrus-designer-neon_494/.

Bundle 5 is available at http://download.eclipse.org/modeling/mdt/papyrus/interoperability/rsa/updates/oxygen/1.4.1/.

So to make Papyrus-RT installable from an update site we need to set the "discovery URL" to these update sites in the corresponding feature.xml files.

But in addition to this, the build must pass. However it currently fails. See Bug 526167. Hence we must also update our target platforms to use these update sites.
Comment 1 Janek Montero CLA 2020-03-31 04:46:34 EDT
Hello,

Did you find an answer to your problem? 

I'm trying to run Papyrus-RT from sources and I think that this bug has not been solved yet, even some of your links are not available anymore

Best regards,
Comment 2 Ernesto Posse CLA 2020-03-31 11:41:23 EDT
(In reply to Janek Montero from comment #1)

Papyrus-RT has not been in active development since the 1.0 release in 2017. Soon after that, the Papyrus-RT project lost its funding and therefore any means of maintenance. A couple of months later the build from source stopped working because of dependencies on base Papyrus changed in ways incompatible with the Papyrus-RT bundles, and as you've found out, some repositories for some dependencies are no longer available. 

Without funding or time, no one has spent time trying to get the build working again, even with older versions of Papyrus. Unfortunately that also includes me, as I do not have time (or funding) to work on it.

If I remember, most of the problems had to do with the Papyrus testing framework, which I think is now part of Papyrus for Tool-smiths. But building it with any current version of Papyrus will likely fail.

So if you only need to use Papyrus-RT, use the pre-built RCP from the website. If you are trying to extend it, I'm afraid that you are on your own, and you'll have to track down the missing dependencies. In that case, I suggest removing all the test plugins from the build. But even in that case, you might still encounter other issues.

I'd love to help, but unfortunately, these days I don't have time to work on it.