Unexpected "Installing a.jre.javase [17.0.0]" operation after import task [message #1842983] |
Thu, 08 July 2021 15:36 |
Andrey Loskutov Messages: 89 Registered: July 2009 |
Member |
|
|
I'm trying to move our custom platform to Eclipse 4.21 from 4.15.
The changes in setup file are minimal (see below), and so far it works fine, except a nasty issue.
<version
name="415"
label="2020-03 (Latest Release)"
requiredJavaVersion="1.8">
=>
<version
name="421"
label="2021-09 (Latest Release)"
requiredJavaVersion="11">
If I try to import projects with Oomph import wizard (org.eclipse.oomph.setup.ui.ImportWizard), *during* import some unexpected "Installing a.jre.javase [17.0.0]" installation operation happens, which requires user to a restart *before* everything imported could be used.
With that, the workflow:
1) Run Installer to install IDE
2) Run import to import projects
3) Start working in imported projects immediately
changes to :
1) Run Installer to install IDE
2) Run import to import projects
3) Do not notice a tiny icon in status line asking for a restart
4) Try to import again
5) Eventually try to call admin or realize restart is needed
6) Start working after restart
That is not nice :-(
Here is the log after import:
Executing manual tasks
OpenJDK Runtime Environment 11.0.10+9-LTS
Product com.advantest.products.advantest_ide_RH7-421.421
Workspace /data/workspaces/e421_smoke
Project com.advantest.java.Java
Project com.advantest.java.ewc.EWC
Project com.advantest.java.dta.DTA
Project com.advantest.java.dsa.DSA
Bundle org.eclipse.oomph.setup 1.20.0.v20210618-0637, build=Advantest, branch=7475afc9e
Bundle org.eclipse.oomph.setup.core 1.20.0.v20210601-0619, build=Advantest, branch=7475afc9e
Bundle org.eclipse.oomph.setup.jdt 1.17.0.v20210221-1019, build=Advantest, branch=7475afc9e
Bundle org.eclipse.oomph.setup.p2 1.17.0.v20210601-0619, build=Advantest, branch=7475afc9e
Bundle org.eclipse.oomph.setup.projects 1.13.0.v20200624-1156, build=Advantest, branch=7475afc9e
Bundle org.eclipse.oomph.setup.workingsets 1.13.0.v20200815-0620, build=Advantest, branch=7475afc9e
Performing P2 Director
Offline = false
Mirrors = true
Resolving 3 requirements from 1 repositoryto /home/aloskuto/.eclipse_ide/advantest_ide_RH7-421/eclipse
Requirement org.eclipse.equinox.p2.iu:org.eclipse.oomph.setup.jdt.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.oomph.setup.projects.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.oomph.setup.workingsets.feature.group
Repository http://xxx/content/repositories/eclipse4sdk-update-site/421/composite/
Adding repository http://xxx/content/repositories/eclipse4sdk-update-site/421/composite/
Calculating requirements and dependencies.
Computing prerequisite plan
Installing a.jre.javase [17.0.0]
Preparing to commit the provisioning operation.
Committing the provisioning operation.
Took 2 seconds.
A restart is needed for the following reasons:
- New software has been installed.
Press Finish to restart now or Cancel to restart later.
1) The question now: how do I can debug / analyze this to find out, *who* requires that "a.jre.javase [17.0.0]" thing?
2) Or is this known issue and there is a solution already?
3) Is there a way to show a *dialog* to user asking for a restart, instead of tiny blinking icon in the status line?
Regards,
Andrey
|
|
|
Re: Unexpected "Installing a.jre.javase [17.0.0]" operation after import task [message #1842985 is a reply to message #1842983] |
Thu, 08 July 2021 16:07 |
Andrey Loskutov Messages: 89 Registered: July 2009 |
Member |
|
|
After adding "a.jre.javase" to p2 installation setup via
<requirement
name="a.jre.javase"/>
I don't see this appearing anymore in the log, but still *something* installed after import and a restart is required:
Executing manual tasks
OpenJDK Runtime Environment 11.0.10+9-LTS
Product com.advantest.products.advantest_ide_RH7-421.421
Workspace /tmp/wsp_oomph_test
Project com.advantest.java.Java
Project com.advantest.java.ewc.EWC
Project com.advantest.java.dta.DTA
Project com.advantest.java.dsa.DSA
Bundle org.eclipse.oomph.setup 1.20.0.v20210618-0637, build=Advantest, branch=7475afc9e
Bundle org.eclipse.oomph.setup.core 1.20.0.v20210601-0619, build=Advantest, branch=7475afc9e
Bundle org.eclipse.oomph.setup.jdt 1.17.0.v20210221-1019, build=Advantest, branch=7475afc9e
Bundle org.eclipse.oomph.setup.p2 1.17.0.v20210601-0619, build=Advantest, branch=7475afc9e
Bundle org.eclipse.oomph.setup.projects 1.13.0.v20200624-1156, build=Advantest, branch=7475afc9e
Bundle org.eclipse.oomph.setup.workingsets 1.13.0.v20200815-0620, build=Advantest, branch=7475afc9e
Performing P2 Director
Offline = false
Mirrors = true
Resolving 3 requirements from 1 repositoryto /tmp/.eclipse_ide/advantest_ide_RH7-421/eclipse
Requirement org.eclipse.equinox.p2.iu:org.eclipse.oomph.setup.jdt.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.oomph.setup.projects.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.oomph.setup.workingsets.feature.group
Repository http://xxx/content/repositories/eclipse4sdk-update-site/421/composite/
Adding repository http://xxxcontent/repositories/eclipse4sdk-update-site/421/composite/
Calculating requirements and dependencies.
Computing prerequisite plan
Preparing to commit the provisioning operation.
Committing the provisioning operation.
Took 3 seconds.
A restart is needed for the following reasons:
- New software has been installed.
Press Finish to restart now or Cancel to restart later.
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03703 seconds