requires org.eclipse.equinox.p2.iu [message #1841717] |
Wed, 26 May 2021 09:35  |
Eclipse User |
|
|
|
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 #1861900 is a reply to message #1861899] |
Sat, 11 November 2023 06:01   |
Eclipse User |
|
|
|
Let me try to start at the beginning.
There is an existing complex OSGI project. I built another RCP project first, referencing some of the OSGI project's bundles.The RCP project is working fine, but when I want to export this RCP project into a package that can be run independently, something goes wrong.
Because exporting with PDE reports circular dependency issues, so I'm going to use tycho to package eclipse-plugin and then package eclipse-repository to achieve this. I think the step of packaging eclipse-plugin has been completed successfully. When packaging eclipse-repository(tycho-p2-director:4.0.3:materialize-products) it ran into the dependency problem mentioned before.
Only the large OSGI project has *.target, see the attachment for the contents of OSGI's target file.
if I need to use the jar file dependency when packaging, I add <repository></repository> in pom.xml to realize it.
In addition, I just packaged the three versions of org.antlr.runtime into the local P2 repository and registered them in pom.xml, and found that the result is the same as using the url on the line.
<repository>
<id>antlr3</id>
<url>file:/C:\Users\chen\Desktop\repository</url>
<layout>p2</layout>
</repository>
Can you provide some help? Thanks!
[Updated on: Sat, 11 November 2023 06:12] by Moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03095 seconds