Project

General

Profile

Actions

bug #5430

open

P2 update of Taxonomic Editor bundled with JRE does not work

Added by Cherian Mathew over 8 years ago. Updated over 3 years ago.

Status:
New
Priority:
Priority14
Assignee:
Category:
taxeditor
Start date:
Due date:
% Done:

0%

Estimated time:
Severity:
normal
Found in Version:
Tags:

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 foundClosedPatrick Plitzner

Actions
Actions #1

Updated by Cherian Mathew over 8 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.

Actions #2

Updated by Cherian Mathew over 8 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

Actions #3

Updated by Andreas Müller over 8 years ago

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

Updated by Patrick Plitzner over 8 years ago

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

Updated by Andreas Müller about 8 years ago

  • Target version deleted (Release 3.12)
Actions #6

Updated by Andreas Müller about 8 years ago

  • Priority changed from Highest to Priority14
Actions #7

Updated by Andreas Müller almost 8 years ago

  • Target version changed from Release 4.0 to Release 4.1
Actions #8

Updated by Andreas Müller almost 8 years ago

  • Target version changed from Release 4.1 to Release 4.2
Actions #9

Updated by Andreas Müller over 7 years ago

  • Target version changed from Release 4.2 to Release 4.3
Actions #10

Updated by Andreas Müller over 7 years ago

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

Updated by Patrick Plitzner over 6 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)
Actions #12

Updated by Andreas Müller over 6 years ago

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

Updated by Andreas Müller over 6 years ago

  • Target version changed from Release 4.12 to Release 4.13
Actions #14

Updated by Andreas Müller about 6 years ago

  • Target version changed from Release 4.13 to Release 4.14
Actions #15

Updated by Andreas Müller about 6 years ago

  • Private changed from Yes to No
Actions #16

Updated by Andreas Müller about 6 years ago

  • Target version changed from Release 4.14 to Reviewed Next Major Release
Actions #18

Updated by Patrick Plitzner over 5 years ago

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

Updated by Andreas Müller about 5 years ago

  • Priority changed from Highest to Priority14
Actions #20

Updated by Andreas Müller over 4 years ago

  • Assignee changed from Patrick Plitzner to Katja Luther
Actions #21

Updated by Andreas Kohlbecker over 3 years ago

  • Tags set to eclipse-p2
Actions

Also available in: Atom PDF