Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » requires org.eclipse.equinox.p2.iu
requires org.eclipse.equinox.p2.iu [message #1841717] Wed, 26 May 2021 13:35 Go to next message
David Sun is currently offline David SunFriend
Messages: 28
Registered: July 2020
Junior Member
I tried to using tycho to package eclipse product archive for my eclipse application.
The tycho throws the following errors:

[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: EtaCATStudio 0.1.0
[ERROR] Missing requirement: EtaCATStudio 0.1.0 requires 'org.eclipse.equinox.p2.iu; com.mackerelpike.plc.ide.feature.feature.group 0.0.0' but it could not be found

--------------------------------------------------
I googled org.eclipse.equinox.p2.iu, But nothing found!
Can anyone tell me How to solve this problem?
Thanks!
Re: requires org.eclipse.equinox.p2.iu [message #1841723 is a reply to message #1841717] Wed, 26 May 2021 14:33 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 32984
Registered: July 2009
Senior Member
I answered this on the JDT forum. Note that "org.eclipse.equinox.p2.iu" in this context is a namespace. The thing after the namespace is the name. So it's the iu (installable unit) for the name com.mackerelpike.plc.ide.feature.feature.group that cannot be resolved. It is a feature and you must specify the p2 repository where it is located.

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: requires org.eclipse.equinox.p2.iu [message #1861845 is a reply to message #1841723] Wed, 08 November 2023 04:03 Go to previous messageGo to next message
chen anjing is currently offline chen anjingFriend
Messages: 7
Registered: March 2023
Junior Member
can you show me url on the JDT forum or some snippets.
I had a similar problem.

The tips as follows:
Cannot complete the install because one or more required items could not be found.
Software being installed: RCP Product 1.0.0.202311080340 (wellcontrol 1.0.0.202311080340)
Missing requirement: RCP Product 1.0.0.202311080340 (wellcontrol 1.0.0.202311080340) requires 'org.eclipse.equinox.p2.iu; org.antlr.runtime [4.7.2.v20221112-0806,4.7.2.v20221112-0806]' but it could not be found

But I don't know where "4.7.2.v20221112-0806" came from

my tycho's version is <tycho.version>4.0.3</tycho.version>

Thank you

[Updated on: Wed, 08 November 2023 05:21]

Report message to a moderator

Re: requires org.eclipse.equinox.p2.iu [message #1861853 is a reply to message #1861845] Wed, 08 November 2023 08:12 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 32984
Registered: July 2009
Senior Member
Like this will help you find things you need:

https://wiki.eclipse.org/Eclipse_Oomph_Authoring#How_to_find_a_P2_repository_at_Eclipse_using_the_Repository_Explorer


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: requires org.eclipse.equinox.p2.iu [message #1861883 is a reply to message #1861853] Fri, 10 November 2023 01:48 Go to previous messageGo to next message
chen anjing is currently offline chen anjingFriend
Messages: 7
Registered: March 2023
Junior Member
I can see the version in https://download.eclipse.org/acceleo/updates/milestones/3.7
as in the attachments

How can I use it? add in the pom.xml?

	
<repository>
	<id>antlr</id>
	<layout>p2</layout>
	<url>https://download.eclipse.org/accceleo/updates/milestones/3.7</url>
</repository>


But the error has not been changed.
Cannot complete the install because one or more required items could not be found.
Software being installed: RCP Product 1.0.0.202311100121 (wellcontrol 1.0.0.202311100121)
Missing requirement: RCP Product 1.0.0.202311100121 (wellcontrol 1.0.0.202311100121) requires 'org.eclipse.equinox.p2.iu; org.antlr.runtime [4.7.2.v20221112-0806,4.7.2.v20221112-0806]' but it could not be found
[ERROR] [76a098d6-24a9-4b1b-a74d-cd406c8a9373][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.3] Cannot complete the install because one or more required items could not be found.

Where is the iu should be installed?
How can I check the iu has been installed?




  • Attachment: snapshot.png
    (Size: 17.59KB, Downloaded 5 times)

[Updated on: Fri, 10 November 2023 02:09]

Report message to a moderator

Re: requires org.eclipse.equinox.p2.iu [message #1861887 is a reply to message #1861883] Fri, 10 November 2023 08:15 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 32984
Registered: July 2009
Senior Member
I don't know how you are setting up your target platform used in the build. You'd typically add it to your *.target file. Maybe this helps:

https://wiki.eclipse.org/Tycho/Target_Platform


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Is there an easy way to install plugins?
Goto Forum:
  


Current Time: Sat Nov 11 05:59:35 GMT 2023

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

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

Back to the top