P2 Director fails to resolve Java 11 dependency [message #1828160] |
Wed, 03 June 2020 05:32  |
Eclipse User |
|
|
|
I am in the process of updating our RCP application to the latest version of RCP and Java 11. We are using the headless PDE Build to put everything together. The build currently fails at the P2 Director stage with:
[java] [p2.director] Installing au.net.synergy.wts.application.Stars 6.0.0.202006021402.
[java] [p2.director] Cannot complete the install because one or more required items could not be found.
[java] [p2.director] Software being installed: Stars 6.0.0.202006021402 (au.net.synergy.wts.application.Stars 6.0.0.202006021402)
[java] [p2.director] Missing requirement for filter properties ~= $0: Stars 6.0.0.202006021402 (au.net.synergy.wts.application.Stars 6.0.0.202006021402) requires 'osgi.ee; JavaSE [11.0.0,11.0.0]' but it could not be found
[java] [p2.director] Installation failed.
The whole build runs on Java 11 and running the application out of the Eclipse IDE works fine as well. So does exporting from Eclipse IDE. However, the headless build fails as above.
Any ideas how to resolve that?
|
|
|
|
Re: P2 Director fails to resolve Java 11 dependency [message #1828169 is a reply to message #1828163] |
Wed, 03 June 2020 08:38   |
Eclipse User |
|
|
|
Hi Ed, I realise that PDE Build is an 'old crappy' tech, but this is what is in place at the moment and switching to Maven/Tycho is not an immediate option but we will look at it down the track. So, my follow-up question is: how do I make these fake IUs available to the P2 director. We use a local single folder based target platform that is manually assembled (<- one reason why Tycho won't work for us out-of-the-box). I would somehow have to get these IUs into our target platform I assume - but how? Adding bundles to our target platform is trivial but I have no idea how to add an IU. Or can I somehow tell P2 director to look for these IUs in an external repository?
Thanks
|
|
|
|
Powered by
FUDForum. Page generated in 0.04001 seconds