Task #2766

Improves the way the JRE is embedded

Added by Sebastien Jacquot 9 months ago. Updated 9 months ago.

Status:New Start date:01/17/2020
Priority:High Due date:
Assignee:- % Done:

0%

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

Description

Embedding the JRE in the RCP feature leads to a bug when trying to update the JRE via Eclipse updates.
See #2764 for original bug.

Solution 0

(for 0.8.0 fix or 0.8.1 ? or later ?)

- stop to use build.properties of org.txm.rcp.feature for Window system and do the "jre" directory copy from the NSIS setup script
- it seems we can keep the build.properties for Linux and Mac
- build a new setup for Window

Solution 1

- change the way of embedding the JRE, use P2 and bundles, see: #2725
- NOTE: should permit to update or change the JRE directly from Eclipse Updates mechanism

Improvements

The TXMUpdate handler file rights test fails on Windows: it does not detect the missing rights.
Add:

!installDirectory.canWrite() || !installDirectory.canExecute()

TXM.ini Magnifier (508 Bytes) Sebastien Jacquot, 01/17/2020 04:49 pm

History

#1 Updated by Sebastien Jacquot 9 months ago

  • Tracker changed from Bug to Task
  • Subject changed from Updates may fail on some Windows versions due to JRE files being used to Improves the way the JRE is embedded
  • Description updated (diff)

Also available in: Atom PDF