Discussion:
[tycho-user] Missing dependency building a product
Michele Tucci
2017-11-07 16:53:06 UTC
Permalink
Hi,

I am trying to build a features based product including these features:
---
<features>
<feature id="org.eclipse.platform" version="4.6.2.v20161124-1529"/>
<feature id="org.eclipse.emf.ecore.editor"/>
<feature id="org.eclipse.emf.ecore"/>
<feature id="org.eclipse.equinox.p2.user.ui"/>
<feature id="org.eclipse.ecf.filetransfer.httpclient4.feature"/>
<feature id="org.eclipse.help"/>
<feature id="org.eclipse.ecf.filetransfer.httpclient4.ssl.feature"/>
<feature id="org.eclipse.equinox.p2.extras.feature"/>
<feature id="org.eclipse.rcp"/>
<feature id="org.eclipse.emf.common"/>
<feature id="org.eclipse.equinox.p2.core.feature"/>
<feature id="org.eclipse.ecf.core.feature"/>
<feature id="org.eclipse.equinox.p2.rcp.feature"/>
<feature id="org.eclipse.ecf.filetransfer.feature"/>
<feature id="org.eclipse.ecf.core.ssl.feature"/>
<feature id="org.eclipse.ecf.filetransfer.ssl.feature"/>
<feature id="org.eclipse.e4.rcp"/>
<feature id="org.emftext.access"/>
<feature id="org.eclipse.emf"/>
<feature id="org.eclipse.emf.ecore.edit"/>
<feature id="org.eclipse.emf.workspace"/>
<feature id="org.eclipse.emf.codegen.ecore"/>
<feature id="org.eclipse.emf.transaction"/>
<feature id="org.eclipse.jdt"/>
<feature id="org.eclipse.emf.validation"/>
<feature id="org.eclipse.m2m.atl"/>
<feature id="org.eclipse.e4.core.tools.feature"/>
</features>
---

I get the error:
---
Cannot complete the install because one or more required items could not be found.
Software being installed: JTL 0.2.0.201711071531 (jtl.product 0.2.0.201711071531)
Missing requirement: JTL 0.2.0.201711071531 (jtl.product 0.2.0.201711071531) requires 'org.eclipse.e4.rcp.feature.group [1.5.3.v20170228-0512]' but it could not be found
---

It looks like a known workaround is to not specify the version numbers of the RCP features but,
as you can see from the features list, "org.eclipse.rcp" and "org.eclipse.e4.rcp" do not specify any version number.

Any ideas?

Thanks.

MT
Sievers, Jan
2017-11-08 08:39:25 UTC
Permalink
looks like feature org.eclipse.e4.rcp is missing in your target platform [1]

Jan

[1] https://wiki.eclipse.org/Tycho/Target_Platform



On 07.11.17, 17:53, "tycho-user-***@eclipse.org on behalf of Michele Tucci" <tycho-user-***@eclipse.org on behalf of ***@univaq.it> wrote:

Hi,

I am trying to build a features based product including these features:
---
<features>
<feature id="org.eclipse.platform" version="4.6.2.v20161124-1529"/>
<feature id="org.eclipse.emf.ecore.editor"/>
<feature id="org.eclipse.emf.ecore"/>
<feature id="org.eclipse.equinox.p2.user.ui"/>
<feature id="org.eclipse.ecf.filetransfer.httpclient4.feature"/>
<feature id="org.eclipse.help"/>
<feature id="org.eclipse.ecf.filetransfer.httpclient4.ssl.feature"/>
<feature id="org.eclipse.equinox.p2.extras.feature"/>
<feature id="org.eclipse.rcp"/>
<feature id="org.eclipse.emf.common"/>
<feature id="org.eclipse.equinox.p2.core.feature"/>
<feature id="org.eclipse.ecf.core.feature"/>
<feature id="org.eclipse.equinox.p2.rcp.feature"/>
<feature id="org.eclipse.ecf.filetransfer.feature"/>
<feature id="org.eclipse.ecf.core.ssl.feature"/>
<feature id="org.eclipse.ecf.filetransfer.ssl.feature"/>
<feature id="org.eclipse.e4.rcp"/>
<feature id="org.emftext.access"/>
<feature id="org.eclipse.emf"/>
<feature id="org.eclipse.emf.ecore.edit"/>
<feature id="org.eclipse.emf.workspace"/>
<feature id="org.eclipse.emf.codegen.ecore"/>
<feature id="org.eclipse.emf.transaction"/>
<feature id="org.eclipse.jdt"/>
<feature id="org.eclipse.emf.validation"/>
<feature id="org.eclipse.m2m.atl"/>
<feature id="org.eclipse.e4.core.tools.feature"/>
</features>
---

I get the error:
---
Cannot complete the install because one or more required items could not be found.
Software being installed: JTL 0.2.0.201711071531 (jtl.product 0.2.0.201711071531)
Missing requirement: JTL 0.2.0.201711071531 (jtl.product 0.2.0.201711071531) requires 'org.eclipse.e4.rcp.feature.group [1.5.3.v20170228-0512]' but it could not be found
---

It looks like a known workaround is to not specify the version numbers of the RCP features but,
as you can see from the features list, "org.eclipse.rcp" and "org.eclipse.e4.rcp" do not specify any version number.

Any ideas?

Thanks.

MT
_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
Michele Tucci
2017-11-08 14:12:45 UTC
Permalink
Thanks.

My POM includes:
---
<repository>
<id>Neon</id>
<layout>p2</layout>
<url>http://download.eclipse.org/releases/neon/</url>
</repository>
---

From the output of:
$ java -jar plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar -debug -consolelog -application org.eclipse.equinox.p2.director -repository http://download.eclipse.org/releases/neon/ -list
it looks like the required feature is in my target platform with the version reported in the error message.
Am I wrong?
---
org.eclipse.e4.rcp.feature.group=1.5.0.v20160606-1342
org.eclipse.e4.rcp.feature.group=1.5.1.v20160907-0248
org.eclipse.e4.rcp.feature.group=1.5.1.v20160907-0248
org.eclipse.e4.rcp.feature.group=1.5.2.v20161122-1740
org.eclipse.e4.rcp.feature.group=1.5.3.v20170228-0512
org.eclipse.e4.rcp.feature.group=1.5.3.v20170228-0512
org.eclipse.e4.rcp.feature.group=1.5.3.v20170228-0512
org.eclipse.e4.rcp.feature.jar=1.5.0.v20160606-1342
org.eclipse.e4.rcp.feature.jar=1.5.1.v20160907-0248
org.eclipse.e4.rcp.feature.jar=1.5.1.v20160907-0248
org.eclipse.e4.rcp.feature.jar=1.5.2.v20161122-1740
org.eclipse.e4.rcp.feature.jar=1.5.3.v20170228-0512
org.eclipse.e4.rcp.feature.jar=1.5.3.v20170228-0512
org.eclipse.e4.rcp.feature.jar=1.5.3.v20170228-0512
---

----- Original Message -----
From: "Sievers, Jan" <***@sap.com>
To: "tycho-user" <tycho-***@eclipse.org>
Sent: Wednesday, 8 November, 2017 09:39:25
Subject: Re: [tycho-user] Missing dependency building a product

looks like feature org.eclipse.e4.rcp is missing in your target platform [1]

Jan

[1] https://wiki.eclipse.org/Tycho/Target_Platform



On 07.11.17, 17:53, "tycho-user-***@eclipse.org on behalf of Michele Tucci" <tycho-user-***@eclipse.org on behalf of ***@univaq.it> wrote:

Hi,

I am trying to build a features based product including these features:
---
<features>
<feature id="org.eclipse.platform" version="4.6.2.v20161124-1529"/>
<feature id="org.eclipse.emf.ecore.editor"/>
<feature id="org.eclipse.emf.ecore"/>
<feature id="org.eclipse.equinox.p2.user.ui"/>
<feature id="org.eclipse.ecf.filetransfer.httpclient4.feature"/>
<feature id="org.eclipse.help"/>
<feature id="org.eclipse.ecf.filetransfer.httpclient4.ssl.feature"/>
<feature id="org.eclipse.equinox.p2.extras.feature"/>
<feature id="org.eclipse.rcp"/>
<feature id="org.eclipse.emf.common"/>
<feature id="org.eclipse.equinox.p2.core.feature"/>
<feature id="org.eclipse.ecf.core.feature"/>
<feature id="org.eclipse.equinox.p2.rcp.feature"/>
<feature id="org.eclipse.ecf.filetransfer.feature"/>
<feature id="org.eclipse.ecf.core.ssl.feature"/>
<feature id="org.eclipse.ecf.filetransfer.ssl.feature"/>
<feature id="org.eclipse.e4.rcp"/>
<feature id="org.emftext.access"/>
<feature id="org.eclipse.emf"/>
<feature id="org.eclipse.emf.ecore.edit"/>
<feature id="org.eclipse.emf.workspace"/>
<feature id="org.eclipse.emf.codegen.ecore"/>
<feature id="org.eclipse.emf.transaction"/>
<feature id="org.eclipse.jdt"/>
<feature id="org.eclipse.emf.validation"/>
<feature id="org.eclipse.m2m.atl"/>
<feature id="org.eclipse.e4.core.tools.feature"/>
</features>
---

I get the error:
---
Cannot complete the install because one or more required items could not be found.
Software being installed: JTL 0.2.0.201711071531 (jtl.product 0.2.0.201711071531)
Missing requirement: JTL 0.2.0.201711071531 (jtl.product 0.2.0.201711071531) requires 'org.eclipse.e4.rcp.feature.group [1.5.3.v20170228-0512]' but it could not be found
---

It looks like a known workaround is to not specify the version numbers of the RCP features but,
as you can see from the features list, "org.eclipse.rcp" and "org.eclipse.e4.rcp" do not specify any version number.

Any ideas?

Thanks.

MT
_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
Michele Tucci
2017-11-08 15:40:11 UTC
Permalink
I solved the issue specifying the exact version of org.eclipse.e4.rcp:
---
<feature id="org.eclipse.e4.rcp" version="1.5.3.v20170228-0512"/>
---

Thanks.

----- Original Message -----
From: "Michele Tucci" <***@univaq.it>
To: "tycho-user" <tycho-***@eclipse.org>
Sent: Wednesday, 8 November, 2017 15:12:45
Subject: Re: [tycho-user] Missing dependency building a product

Thanks.

My POM includes:
---
<repository>
<id>Neon</id>
<layout>p2</layout>
<url>http://download.eclipse.org/releases/neon/</url>
</repository>
---

From the output of:
$ java -jar plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar -debug -consolelog -application org.eclipse.equinox.p2.director -repository http://download.eclipse.org/releases/neon/ -list
it looks like the required feature is in my target platform with the version reported in the error message.
Am I wrong?
---
org.eclipse.e4.rcp.feature.group=1.5.0.v20160606-1342
org.eclipse.e4.rcp.feature.group=1.5.1.v20160907-0248
org.eclipse.e4.rcp.feature.group=1.5.1.v20160907-0248
org.eclipse.e4.rcp.feature.group=1.5.2.v20161122-1740
org.eclipse.e4.rcp.feature.group=1.5.3.v20170228-0512
org.eclipse.e4.rcp.feature.group=1.5.3.v20170228-0512
org.eclipse.e4.rcp.feature.group=1.5.3.v20170228-0512
org.eclipse.e4.rcp.feature.jar=1.5.0.v20160606-1342
org.eclipse.e4.rcp.feature.jar=1.5.1.v20160907-0248
org.eclipse.e4.rcp.feature.jar=1.5.1.v20160907-0248
org.eclipse.e4.rcp.feature.jar=1.5.2.v20161122-1740
org.eclipse.e4.rcp.feature.jar=1.5.3.v20170228-0512
org.eclipse.e4.rcp.feature.jar=1.5.3.v20170228-0512
org.eclipse.e4.rcp.feature.jar=1.5.3.v20170228-0512
---

----- Original Message -----
From: "Sievers, Jan" <***@sap.com>
To: "tycho-user" <tycho-***@eclipse.org>
Sent: Wednesday, 8 November, 2017 09:39:25
Subject: Re: [tycho-user] Missing dependency building a product

looks like feature org.eclipse.e4.rcp is missing in your target platform [1]

Jan

[1] https://wiki.eclipse.org/Tycho/Target_Platform



On 07.11.17, 17:53, "tycho-user-***@eclipse.org on behalf of Michele Tucci" <tycho-user-***@eclipse.org on behalf of ***@univaq.it> wrote:

Hi,

I am trying to build a features based product including these features:
---
<features>
<feature id="org.eclipse.platform" version="4.6.2.v20161124-1529"/>
<feature id="org.eclipse.emf.ecore.editor"/>
<feature id="org.eclipse.emf.ecore"/>
<feature id="org.eclipse.equinox.p2.user.ui"/>
<feature id="org.eclipse.ecf.filetransfer.httpclient4.feature"/>
<feature id="org.eclipse.help"/>
<feature id="org.eclipse.ecf.filetransfer.httpclient4.ssl.feature"/>
<feature id="org.eclipse.equinox.p2.extras.feature"/>
<feature id="org.eclipse.rcp"/>
<feature id="org.eclipse.emf.common"/>
<feature id="org.eclipse.equinox.p2.core.feature"/>
<feature id="org.eclipse.ecf.core.feature"/>
<feature id="org.eclipse.equinox.p2.rcp.feature"/>
<feature id="org.eclipse.ecf.filetransfer.feature"/>
<feature id="org.eclipse.ecf.core.ssl.feature"/>
<feature id="org.eclipse.ecf.filetransfer.ssl.feature"/>
<feature id="org.eclipse.e4.rcp"/>
<feature id="org.emftext.access"/>
<feature id="org.eclipse.emf"/>
<feature id="org.eclipse.emf.ecore.edit"/>
<feature id="org.eclipse.emf.workspace"/>
<feature id="org.eclipse.emf.codegen.ecore"/>
<feature id="org.eclipse.emf.transaction"/>
<feature id="org.eclipse.jdt"/>
<feature id="org.eclipse.emf.validation"/>
<feature id="org.eclipse.m2m.atl"/>
<feature id="org.eclipse.e4.core.tools.feature"/>
</features>
---

I get the error:
---
Cannot complete the install because one or more required items could not be found.
Software being installed: JTL 0.2.0.201711071531 (jtl.product 0.2.0.201711071531)
Missing requirement: JTL 0.2.0.201711071531 (jtl.product 0.2.0.201711071531) requires 'org.eclipse.e4.rcp.feature.group [1.5.3.v20170228-0512]' but it could not be found
---

It looks like a known workaround is to not specify the version numbers of the RCP features but,
as you can see from the features list, "org.eclipse.rcp" and "org.eclipse.e4.rcp" do not specify any version number.

Any ideas?

Thanks.

MT
_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user


_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user

Loading...