Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » Updating target platform for RCP application from Neon to 2019-12
Updating target platform for RCP application from Neon to 2019-12 [message #1821880] Fri, 21 February 2020 14:53
Robert Schulk is currently offline Robert SchulkFriend
Messages: 146
Registered: July 2015
Senior Member
Hi all,

until now, we used a p2 target defintion which was based on eclipse neon and looked like this:
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
	<unit id="org.eclipse.equinox.sdk.feature.group" version="3.12.0.v20170209-1843" />
	<unit id="org.eclipse.emf.sdk.feature.group" version="2.12.0.v20160526-0356" />
	<unit id="org.eclipse.rcp.feature.group" version="4.6.3.v20170301-0400" />
	<unit id="org.eclipse.sdk.ide" version="4.6.3.M20170301-0400" />
	<unit id="org.eclipse.rcp.sdk.id" version="4.6.3.M20170301-0400" />
	<unit id="org.eclipse.jdt.source.feature.group" version="3.12.3.v20170301-0400" />
	<unit id="org.eclipse.equinox.core.sdk.feature.group" version="3.12.3.v20170209-1843" />
	<repository location="http://download.eclipse.org/releases/neon/" />
</location>


Now, I would like to update to the current release: 2019-12.
So after some extended search, I came up with two updates sites where some plugins now reside:
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
	<repository location="https://download.eclipse.org/eclipse/updates/4.14/" />
	<unit id="org.eclipse.equinox.sdk.feature.group" version="3.20.0.v20191122-2104" />
	<unit id="org.eclipse.rcp.feature.group" version="4.14.0.v20191210-0610" />
	<unit id="org.eclipse.jdt.source.feature.group" version="3.18.200.v20191210-0610" />
	<unit id="org.eclipse.sdk.ide" version="4.14.0.I20191210-0610" />
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
	<repository location="http://download.eclipse.org/releases/2019-12" />
	<unit id="org.eclipse.emf.sdk.feature.group" version="2.20.0.v20191028-0905" />
</location>


I could not find (but it seems to be okay in eclipse):
org.eclipse.equinox.core.sdk.feature.group
org.eclipse.rcp.sdk.id

In Eclipse everything looks good and I can start my application.
But if I build the project with maven/tycho, I get a compile error:
[ERROR] The type org.eclipse.swt.widgets.Label cannot be resolved. It is indirectly referenced from required .class files


Does anybody know what could be going wrong here?
Previous Topic:Wrong bundle loaded after update on macosx
Next Topic:Native Kerberos and/or NTLMv2 proxy support in 2019-12?
Goto Forum:
  


Current Time: Mon Nov 04 02:09:17 GMT 2024

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

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

Back to the top