bug #5430
openP2 update of Taxonomic Editor bundled with JRE does not work
0%
Description
Trying to update the JRE bundled fails with no updates found.
Related tickets: #4452, #5061
When finished update wiki description on https://dev.e-taxonomy.eu/redmine/projects/edit/wiki/TaxonomicEditorDevelopersGuide#Custom-JRE-Packaging
Related issues
Updated by Cherian Mathew over 7 years ago
The initial problem was due to the fact that the jre product was not uploaded to the update site. But after adding the upload to the JRE Intgeration job, we get a new error.
This time the error is due to the fact that the editor update mechanism tries to replace the jvm's rt.jar which fails since the jvm is currently active.
The solution to this problem is to make sure the editor does not try to update the jre and only updates the editor plugins.
Updated by Cherian Mathew over 7 years ago
A possible solution could be a new feature plugin in the editor (let's say eu.etaxonomy.taxeditor.feature.jre) and include the jre in this plugin.
The steps to do this would be to
create a new plugin named eu.etaxonomy.taxeditor.feature.jre and set the version to the jre version which does not change until the next change in jre version. make sure to not append 'qualifier' to the version else tycho will create a timestamp.
move the 'build.properties.with.jre' file in the eu.etaxonomy.taxeditor.feature plugin to the new one
include the new feature in the eu.etaxonomy.taxeditor.feature plugin
update the 'server-scripts/workspace/jenkins-ci/taxeditor/setup-jre-bundle.sh' to change eu.etaxonomy.taxeditor.feature -> eu.etaxonomy.taxeditor.feature.jre
Updated by Andreas Müller over 7 years ago
- Target version changed from Unassigned CDM tickets to Release 3.12
- Priority changed from New to Highest
Updated by Patrick Plitzner over 7 years ago
- Status changed from New to In Progress
- Assignee changed from Andreas Müller to p.plitzner -
Updated by Andreas Müller over 7 years ago
- Target version deleted (
Release 3.12)
Updated by Andreas Müller about 7 years ago
- Priority changed from Highest to Priority14
Updated by Andreas Müller almost 7 years ago
- Target version changed from Release 4.0 to Release 4.1
Updated by Andreas Müller almost 7 years ago
- Target version changed from Release 4.1 to Release 4.2
Updated by Andreas Müller over 6 years ago
- Target version changed from Release 4.2 to Release 4.3
Updated by Andreas Müller over 6 years ago
- Description updated (diff)
- Priority changed from Priority14 to Highest
- Target version changed from Release 4.3 to Reviewed Next Major Release
Updated by Patrick Plitzner over 5 years ago
- Target version changed from Reviewed Next Major Release to Release 4.12
On windows the update fails with the following exception:
!ENTRY org.eclipse.equinox.p2.engine 4 4 2017-09-09 10:46:38.785 !MESSAGE An error occurred while uninstalling !SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2017-09-09 10:46:38.785 !MESSAGE session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]eu.etaxonomy.taxeditor.feature_root.win32.win32.x86_64 4.10.0.201709062251 --> null, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction). !SUBENTRY 1 org.eclipse.equinox.p2.touchpoint.natives 4 0 2017-09-09 10:46:38.785 !MESSAGE Backup of file C:\Users\a.mueller\opt\editor\nightly\4.10_nightly\EDIT Taxonomic Editor\jre\lib\jsse.jar failed. !STACK 0 java.io.IOException: File that was copied to backup could not be deleted: C:\Users\a.mueller\opt\editor\nightly\4.10_nightly\EDIT Taxonomic Editor\jre\lib\jsse.jar at org.eclipse.equinox.internal.p2.touchpoint.natives.BackupStore.moveToBackup(BackupStore.java:282) at org.eclipse.equinox.internal.p2.touchpoint.natives.BackupStore.backup(BackupStore.java:248) at org.eclipse.equinox.internal.p2.touchpoint.natives.LazyBackupStore.backup(LazyBackupStore.java:36) at org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction.cleanupzip(CleanupzipAction.java:85) at org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction.execute(CleanupzipAction.java:30) at org.eclipse.equinox.internal.p2.engine.ParameterizedProvisioningAction.execute(ParameterizedProvisioningAction.java:38) at org.eclipse.equinox.internal.p2.engine.Phase.mainPerform(Phase.java:183) at org.eclipse.equinox.internal.p2.engine.Phase.perform(Phase.java:95) at org.eclipse.equinox.internal.p2.engine.PhaseSet.perform(PhaseSet.java:47) at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:75) at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:44) at org.eclipse.equinox.p2.operations.ProvisioningSession.performProvisioningPlan(ProvisioningSession.java:175) at org.eclipse.equinox.p2.operations.ProfileModificationJob.runModal(ProfileModificationJob.java:79) at org.eclipse.equinox.p2.operations.ProvisioningJob.run(ProvisioningJob.java:177) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Updated by Andreas Müller over 5 years ago
- Related to bug #7079: P2 updates not found added
Updated by Andreas Müller over 5 years ago
- Target version changed from Release 4.12 to Release 4.13
Updated by Andreas Müller about 5 years ago
- Target version changed from Release 4.13 to Release 4.14
Updated by Andreas Müller about 5 years ago
- Target version changed from Release 4.14 to Reviewed Next Major Release
Updated by Patrick Plitzner over 4 years ago
- Description updated (diff)
- Status changed from In Progress to New
Updated by Andreas Müller about 4 years ago
- Priority changed from Highest to Priority14
Updated by Andreas Müller over 3 years ago
- Assignee changed from Patrick Plitzner to Katja Luther