-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhance p2 director with "addJREIU" option #484
Comments
P2 Director Application fails to install some of the bundles which has requirements on Java-SE 21. The reason for this issue was missing java profile dependency during installation. This new option includes Jre IU as an extra installable Unit. Fixes eclipse-equinox#484
P2 Director Application fails to install some of the bundles which has requirements on Java-SE 21. The reason for this issue was missing java profile dependency during installation. This new option includes Jre IU as an extra installable Unit.- Fixes eclipse-equinox#484
P2 Director Application fails to install some of the bundles which has requirements on Java-SE 21. The reason for this issue was missing java profile dependency during installation. This new option includes Jre IU as an extra installable Unit. Fixes eclipse-equinox#484
P2 Director Application fails to install some of the bundles which has requirements on Java-SE 21. The reason for this issue was missing java profile dependency during installation. This new option includes Jre IU as an extra installable Unit. Fixes eclipse-equinox#484
P2 Director Application fails to install some of the bundles which has requirements on Java-SE 21. The reason for this issue was missing java profile dependency during installation. This new option includes Jre IU as an extra installable Unit. Fixes eclipse-equinox#484
P2 Director Application fails to install some of the bundles which has requirements on Java-SE 21. The reason for this issue was missing java profile dependency during installation. This new option includes Jre IU as an extra installable Unit. Fixes eclipse-equinox#484
P2 Director Application fails to install some of the bundles which has requirements on Java-SE 21. The reason for this issue was missing java profile dependency during installation. This new option includes Jre IU as an extra installable Unit. Fixes eclipse-equinox#484
P2 Director Application fails to install some of the bundles which has requirements on Java-SE 21. The reason for this issue was missing java profile dependency during installation. This new option includes Jre IU as an extra installable Unit. Fixes eclipse-equinox#484
P2 Director Application fails to install some of the bundles which has requirements on Java-SE 21. The reason for this issue was missing java profile dependency during installation. This new option includes Jre IU as an extra installable Unit. Fixes eclipse-equinox#484
P2 Director Application fails to install some of the bundles which has requirements on Java-SE 21. The reason for this issue was missing java profile dependency during installation. This new option includes Jre IU as an extra installable Unit. Fixes #484
@merks: I think we should document this in N&N? Or is there a better place for p2 director options documentation? |
There is https://help.eclipse.org/latest/topic/org.eclipse.platform.doc.isv/guide/p2_director.html |
OK, so we should update that. |
Note this part about the argument information being generated: That code is commented out here: |
Documentation is available at https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/blob/master/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_director.html |
A new option is introduced by eclipse-equinox/p2#484.
A new option is introduced by eclipse-equinox/p2#484.
With eclipse-platform/eclipse.platform.releng.aggregator#1915 merged this can be closed. |
Doesn't work as expected. Instead of adding Java 21 it adds Java 17. Build is running on java 21. |
It doesn't really matter what the build is running but the director process, just in case... also keep in mind that this will not add anything it will only make it available during the director calls (what might or might not add things to the profile). |
Everythingin the build / install process runs on Java 21 |
I guess what happens is that a.jre.javase for Java 17 is already present in the SDK and so the new option simply silently does nothing. |
I'm not sure what is your expectation here or where you seeing what, but the generated IU will just be transient unless you explicitly install it, so if you put a breakpoint there you should see that it is added as an extra unit but ti later will not show up anywhere. |
Sure I'm also trying to install it. Is it possible, doing both actions in same director call depends on processing order of arguments? So if install is called first, and addjre is processed after that, the Java 17 is installed before Java21 is added? I'm currently on vacation, will follow up in a week. |
You usually install things on top of others, so some units are there (inital + extra units), some are requested to be installed (root units) and the units you provide (updatesites). The all root IUs are selected + their dependencies (if not already part of initial + extra) and added to the profile. |
Support "addJREIU" option for DirectorApplication. Similar to UpdateSitePublisherApplication.
Background for this enhancement is from #450
The text was updated successfully, but these errors were encountered: