|Product Export with JDK 11 [message #1834003]
||Fri, 30 October 2020 01:00
| Chris Lake
Registered: November 2015
I have a problem in two parts.|
At first I thought my problems was using Oomph to install Eclipse with a bundle pool. This stops Eclipse exporting products using JDK 11 (probably JDK 10 and above). I created a bug here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=568388
However, this finding did not resolve my issue. We use a software site for our Target Definition. Taking the above bug as the base, I can observe the following:
- Download JDK 11
- Download "Eclipse IDE for RCP and RAP Developers"
- Create Simple plugin and product
- Create a target:
Add a "Software Site" using : http://download.eclipse.org/releases/2020-09
Select the "Eclipse for RCP and RAP Developers" feature
- Apply the target
- Run Product Export Wizard
The following error occurred while executing this line:
C:\dev\ws\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\package.org.eclipse.pde.container.feature.win32.win32.x86_64.xml:182: The following error occurred while executing this line:
C:\Users\user\.p2\pool\plugins\org.eclipse.pde.build_3.10.800.v20200410-1419\scripts\genericTargets.xml:240: A problem occured while invoking the director.
Adding the following to the genericTargets.xml:
<property name="p2.director.log" value="c:/users/user/Desktop/director.log" />
<record name="c:/users/user/Desktop/build.log" loglevel="verbose"/>
Missing requirement: Theplugin 220.127.116.11010291855 (theplugin 18.104.22.168010291855) requires 'osgi.ee; (&(osgi.ee=JavaSE)(version=11))' but it could not be found
After a lot of digging, it seems that the PDE export ignores non-local targets when attempting to find profiles to use as a reference repository for the export.
Does anyone else use a non-local target and able to export for JDK 11?
[Updated on: Fri, 30 October 2020 05:28]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.03865 seconds