Task #1152

RCP: 0.7.7: linux update has no effect

Added by Matthieu Decorde over 8 years ago. Updated about 2 years ago.

Status:Closed Start date:11/27/2014
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:Update Spent time: -
Target version:TXM 0.7.7

Description

Update on linux have no effect: the plugin are installed and loaded but the older ones are still activated.

TXM can't update Toolbox because the p2 process "is not permitted to do an update" (maybe because there is 2 configuration directories (in .txm and in /usr/lib/TXM/TXM)

Solution

- don't use the "-configuration" runtime option (Eclipse failed to manage several configuration directory: install configuration and .txm configuration)
- use the "-install" runtime option
- save preferences in the Platform.getUserLocation() directory (to avoid saving preferences in the .txm/configuration directory)
- retrieve preferences from this folder instead of Platform.getConfigurationLocation()

Validation test

- Windows XP: OK MD
- Windows 7 32bit: OK MD
- Windows 7 64bit: OK MD
- Mac OS X: OK MD
- Ubuntu 32bit:
- Ubuntu 64bit: OK MD

History

#1 Updated by Matthieu Decorde over 8 years ago

  • Description updated (diff)

#2 Updated by Matthieu Decorde over 8 years ago

  • Description updated (diff)

#3 Updated by Matthieu Decorde over 8 years ago

  • % Done changed from 30 to 60

Works with a fresh Linux, WindowsXP and Windows 7 32bit

#4 Updated by Matthieu Decorde over 8 years ago

  • Description updated (diff)
  • % Done changed from 60 to 80

#5 Updated by Matthieu Decorde over 8 years ago

  • Status changed from New to Feedback

#6 Updated by Matthieu Decorde almost 8 years ago

  • % Done changed from 80 to 100

#7 Updated by Matthieu Decorde about 2 years ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF