Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Problems building RCP based on Papyrus 2019-06
Problems building RCP based on Papyrus 2019-06 [message #1808665] Fri, 28 June 2019 11:33 Go to next message
Oliver Gardiner is currently offline Oliver GardinerFriend
Messages: 26
Registered: May 2014
Location: Oxford, UK
Junior Member
I have constructed an RCP that extends Papyrus for our internal data modelling needs and previously had everything running under 2019-03. Making it work with 2019-06 is proving more difficult and there are a number of issues I am struggling with:
1. while it doesn't seem to affect the resulting RCP (presumably because I'm only using Class and Package diagrams), Bug 548029 - "[Diagram] Some helper advices are not found" seems to have reappeared though marked as fixed.

2. I can't run a maven build under PDE 2019-06 - dependency resolution fails, even though it works fine under PDE 2019-03 or an external maven build

3. While it's not a big deal, our integration team is keen to be able to add custom icons to stereotyped elements through the profile. I not that the official Papyrus RCP does this fine, my RCP brings up the Comments dialog rather than the stereotype icon dialog (with the title "Create a new image") when I try to set the icon on a stereotype.

Many thanks,

Oliver
Re: Problems building RCP based on Papyrus 2019-06 [message #1808759 is a reply to message #1808665] Mon, 01 July 2019 09:40 Go to previous messageGo to next message
Nicolas FAUVERGUE is currently offline Nicolas FAUVERGUEFriend
Messages: 47
Registered: February 2014
Member
Hi Oliver,

Just to answer about the first point, this fix was pushed after the 2019-06 release. This is why you always got this exceptions.

BR,
Nicolas
Re: Problems building RCP based on Papyrus 2019-06 [message #1809075 is a reply to message #1808759] Mon, 08 July 2019 12:28 Go to previous messageGo to next message
Quentin Le Menez is currently offline Quentin Le MenezFriend
Messages: 47
Registered: September 2014
Location: Paris Saclay, France
Member
Hi Oliver,

I can't seem to understand your second question. Are you having difficulties building the 2019-06 version of Papyrus running the launcher inside the repository ? (I'll take a look at it today)
For your third question it seems you lack some dependencies ? you might want to look at the features included in the Papyrus RCP (releng/rcp/** under the git repository) and those in the target platform, especially the update sites adresses and versions of those.

HTH,
Quentin
Re: Problems building RCP based on Papyrus 2019-06 [message #1809255 is a reply to message #1809075] Fri, 12 July 2019 13:21 Go to previous messageGo to next message
Oliver Gardiner is currently offline Oliver GardinerFriend
Messages: 26
Registered: May 2014
Location: Oxford, UK
Junior Member
Hi Quentin,

I'm not building Papyrus itself, rather I have my own extensions to Papyrus (packaged as a feature with plugins) and I am building an RCP product that combines Papyrus, my own plugins and Papyrus Compare. When I build this with the 2019-03 PDE (or external maven), the maven build of the RCP works fine but fails with the same project running in 2019-06 PDE.

The repositories defined in the *.product file are:

<repository location="http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/integration" enabled="true" />
<repository location="http://download.eclipse.org/releases/2019-06/" enabled="true" />
<repository location="http://download.eclipse.org/eclipse/updates/4.12/" enabled="true" />
<repository location="http://download.eclipse.org/modeling/emf/compare/updates/releases/3.3/R201905300200" enabled="true" />
<repository location="http://download.eclipse.org/modeling/mdt/papyrus/updates/nightly/master/" enabled="true" />

The repositories identified in pom.xml are:
<repository>
<id>eclipse-releases-201906</id>
<layout>p2</layout>
<url>https://download.eclipse.org/releases/2019-06</url>
</repository>
<repository>
<id>eclipse-updates-4.12</id>
<layout>p2</layout>
<url>https://download.eclipse.org/eclipse/updates/4.12</url>
</repository>
<repository>
<id>papyrus</id>
<layout>p2</layout>
<url>http://download.eclipse.org/modeling/mdt/papyrus/updates/nightly/master</url>
</repository>
<repository>
<id>papyrus-compare</id>
<layout>p2</layout>
<url>https://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/integration</url>
</repository>

Under 2019-06, the build fails thus:

[INFO] Scanning for projects...
[INFO] Downloading from : https://repo.eclipse.org/content/repositories/releases/org/eclipse/platform/org.eclipse.osgi/maven-metadata.xml
[INFO] Downloading from : https://repo.eclipse.org/content/repositories/tycho-snapshots/org/eclipse/platform/org.eclipse.osgi/maven-metadata.xml
[INFO] Computing target platform for MavenProject: uk.org.whitecottage.palladium:uk.org.whitecottage.palladium:1.0.26-SNAPSHOT @ C:\Development\pldm.tools\uk.org.whitecottage.palladium\plugins\uk.org.whitecottage.palladium\pom.xml
[INFO] Adding repository http://download.eclipse.org/nebula/releases/1.2.0
[INFO] Fetching p2.index from http://download.eclipse.org/nattable/releases/1.5.0/repository/
[INFO] Fetching p2.index from http://download.eclipse.org/nattable/releases/1.5.0/repository/
[INFO] Adding repository http://download.eclipse.org/nattable/releases/1.5.0/repository
[INFO] Fetching p2.index from http://download.eclipse.org/tools/orbit/downloads/drops/R20190602212107/repository/
[INFO] Fetching p2.index from http://download.eclipse.org/tools/orbit/downloads/drops/R20190602212107/repository/
[INFO] Adding repository http://download.eclipse.org/tools/orbit/downloads/drops/R20190602212107/repository
[INFO] Fetching p2.index from http://download.eclipse.org/tools/orbit/downloads/drops2/R20190602212107/repository/
[INFO] Fetching p2.index from http://download.eclipse.org/tools/orbit/downloads/drops2/R20190602212107/repository/
[INFO] Fetching p2.index from https://download.eclipse.org/xwt/milestones-1.4.0/1.4.0-RC2/
[INFO] Fetching p2.index from https://download.eclipse.org/xwt/milestones-1.4.0/1.4.0-RC2/
[INFO] Adding repository https://download.eclipse.org/xwt/milestones-1.4.0/1.4.0-RC2
[INFO] Fetching p2.index from https://download.eclipse.org/mmt/qvto/updates/milestones/3.9.3/S201906100948/
[INFO] Fetching p2.index from https://download.eclipse.org/mmt/qvto/updates/milestones/3.9.3/S201906100948/
[INFO] Adding repository https://download.eclipse.org/mmt/qvto/updates/milestones/3.9.3/S201906100948
[INFO] Adding repository http://download.eclipse.org/modeling/m2t/xpand/updates/releases/R201605260315
[INFO] Adding repository http://download.eclipse.org/modeling/mdt/uml2/updates/5.5
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/mdt/uml2/updates/5.5/R201812031331/
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/mdt/uml2/updates/5.5/R201812031331/
[INFO] Fetching p2.index from https://download.eclipse.org/modeling/mdt/ocl/updates/milestones/6.8.0/S201906031146/
[INFO] Fetching p2.index from https://download.eclipse.org/modeling/mdt/ocl/updates/milestones/6.8.0/S201906031146/
[INFO] Adding repository https://download.eclipse.org/modeling/mdt/ocl/updates/milestones/6.8.0/S201906031146
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/tmf/xtext/updates/releases/2.18.0/
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/tmf/xtext/updates/releases/2.18.0/
[INFO] Adding repository http://download.eclipse.org/modeling/tmf/xtext/updates/releases/2.18.0
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/emft/mwe/updates/releases/2.10.0/
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/emft/mwe/updates/releases/2.10.0/
[INFO] Adding repository http://download.eclipse.org/modeling/emft/mwe/updates/releases/2.10.0
[INFO] Fetching p2.index from https://download.eclipse.org/webtools/downloads/drops/R3.14.0/S-3.14.0.RC2-20190612230649/repository/
[INFO] Fetching p2.index from https://download.eclipse.org/webtools/downloads/drops/R3.14.0/S-3.14.0.RC2-20190612230649/repository/
[INFO] Adding repository https://download.eclipse.org/webtools/downloads/drops/R3.14.0/S-3.14.0.RC2-20190612230649/repository
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/gmp/gmf-runtime/updates/milestones/S201905141505/
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/gmp/gmf-runtime/updates/milestones/S201905141505/
[INFO] Adding repository http://download.eclipse.org/modeling/gmp/gmf-runtime/updates/milestones/S201905141505
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/gmp/gmf-notation/updates/releases/R201805221301/
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/gmp/gmf-notation/updates/releases/R201805221301/
[INFO] Adding repository http://download.eclipse.org/modeling/gmp/gmf-notation/updates/releases/R201805221301
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/emf/query/updates/releases/R201805030653/
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/emf/query/updates/releases/R201805030653/
[INFO] Adding repository http://download.eclipse.org/modeling/emf/query/updates/releases/R201805030653
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/emf/validation/updates/releases/R201812070911/
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/emf/validation/updates/releases/R201812070911/
[INFO] Adding repository http://download.eclipse.org/modeling/emf/validation/updates/releases/R201812070911
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/emf/transaction/updates/releases/R201805140824/
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/emf/transaction/updates/releases/R201805140824/
[INFO] Adding repository http://download.eclipse.org/modeling/emf/transaction/updates/releases/R201805140824
[INFO] Adding repository http://download.eclipse.org/tools/gef/updates/legacy/releases/4.0.0_gef-master_1952
[INFO] Fetching p2.index from http://download.eclipse.org/egit/updates-5.4/
[INFO] Fetching p2.index from http://download.eclipse.org/egit/updates-5.4/
[INFO] Adding repository http://download.eclipse.org/egit/updates-5.4
[INFO] Fetching p2.index from http://download.eclipse.org/eclipse/updates/4.12/R-4.12-201906051800/
[INFO] Fetching p2.index from http://download.eclipse.org/eclipse/updates/4.12/R-4.12-201906051800/
[INFO] Adding repository http://download.eclipse.org/eclipse/updates/4.12/R-4.12-201906051800
[INFO] Adding repository http://download.eclipse.org/mylyn/drops/3.24.2/v20180905-2014
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/emf/compare/updates/milestones/3.3/S201905300200/
[INFO] Adding repository http://download.eclipse.org/modeling/emf/compare/updates/milestones/3.3/S201905300200
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/emf/compare/updates/milestones/3.3/S201905300200/core/
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/emf/compare/updates/milestones/3.3/S201905300200/core/
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/emf/compare/updates/milestones/3.3/S201905300200/extras/
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/emf/compare/updates/milestones/3.3/S201905300200/extras/
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/emf/emf/builds/release/2.18/
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/emf/emf/builds/release/2.18/
[INFO] Adding repository http://download.eclipse.org/modeling/emf/emf/builds/release/2.18
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/emf/cdo/drops/R20180613-0111/
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/emf/cdo/drops/R20180613-0111/
[INFO] Adding repository http://download.eclipse.org/modeling/emf/cdo/drops/R20180613-0111
[INFO] Resolving dependencies of MavenProject: uk.org.whitecottage.palladium:uk.co.johnlewispartnership.palladium:1.0.26-SNAPSHOT @ C:\Development\pldm.tools\uk.org.whitecottage.palladium\plugins\uk.co.johnlewispartnership.palladium\pom.xml
[INFO] {osgi.os=win32, osgi.ws=win32, org.eclipse.update.install.features=true, osgi.arch=x86_64}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: uk.org.whitecottage.palladium 1.0.26.qualifier
[ERROR] Missing requirement: uk.org.whitecottage.palladium 1.0.26.qualifier requires 'osgi.bundle; org.eclipse.papyrus.infra.core 3.0.100' but it could not be found

I've run this just now to provide the maven console output - pretty sure that when I tried this in June it failed to read repositories much earlier and barfed on uml2 as a dependency. Maybe that suggests that the repos are being refreshed against an update to Tycho or Maven?

Thanks,

Oliver
Re: Problems building RCP based on Papyrus 2019-06 [message #1809260 is a reply to message #1809075] Fri, 12 July 2019 14:49 Go to previous message
Oliver Gardiner is currently offline Oliver GardinerFriend
Messages: 26
Registered: May 2014
Location: Oxford, UK
Junior Member
Hi Quentin,

I've got branch bugs/4.4.0_RCP checked out and have made my target platform a combination of the tpd for the RCP and the included tpd from main (both portable). I've also got the same updates sites in the .product definition.

As far as I can see, the RCP just includes the feature org.eclipse.papyrus.sdk.feature.source - I've included that, my own feature and Papyrus Compare plus a few others.

Thanks,

Oliver
Previous Topic:Moka Statemachines - NullPointerException
Next Topic:Copying of package including an activity diagram do not work
Goto Forum:
  


Current Time: Thu Dec 12 00:46:37 GMT 2019

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

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

Back to the top