Project

General

Profile

bug #5430

P2 update of Taxonomic Editor bundled with JRE does not work

Added by Cherian Mathew about 4 years ago. Updated 18 days ago.

Status:
New
Priority:
Priority14
Assignee:
Category:
taxeditor
Start date:
07/06/2016
Due date:
% Done:

0%

Severity:
normal
Found in Version:

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

Related to Edit - bug #7079: P2 updates not found Closed 11/22/2017

History

#1 Updated by Cherian Mathew about 4 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.

#2 Updated by Cherian Mathew about 4 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

#3 Updated by Andreas Müller about 4 years ago

  • Target version changed from Unassigned CDM tickets to Release 3.12
  • Priority changed from New to Highest

#4 Updated by Patrick Plitzner about 4 years ago

  • Status changed from New to In Progress
  • Assignee changed from Andreas Müller to p.plitzner -

#5 Updated by Andreas Müller almost 4 years ago

  • Target version deleted (Release 3.12)

#6 Updated by Andreas Müller over 3 years ago

  • Priority changed from Highest to Priority14

#7 Updated by Andreas Müller over 3 years ago

  • Target version changed from Release 4.0 to Release 4.1

#8 Updated by Andreas Müller over 3 years ago

  • Target version changed from Release 4.1 to Release 4.2

#9 Updated by Andreas Müller over 3 years ago

  • Target version changed from Release 4.2 to Release 4.3

#10 Updated by Andreas Müller over 3 years ago

  • Description updated (diff)
  • Priority changed from Priority14 to Highest
  • Target version changed from Release 4.3 to Reviewed Next Major Release

#11 Updated by Patrick Plitzner about 2 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)

#12 Updated by Andreas Müller about 2 years ago

  • Related to bug #7079: P2 updates not found added

#13 Updated by Andreas Müller about 2 years ago

  • Target version changed from Release 4.12 to Release 4.13

#14 Updated by Andreas Müller almost 2 years ago

  • Target version changed from Release 4.13 to Release 4.14

#15 Updated by Andreas Müller almost 2 years ago

  • Private changed from Yes to No

#16 Updated by Andreas Müller almost 2 years ago

  • Target version changed from Release 4.14 to Reviewed Next Major Release

#18 Updated by Patrick Plitzner over 1 year ago

  • Description updated (diff)
  • Status changed from In Progress to New

#19 Updated by Andreas Müller 10 months ago

  • Priority changed from Highest to Priority14

#20 Updated by Andreas Müller 18 days ago

  • Assignee changed from Patrick Plitzner to Katja Luther

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)