Task #2766
Improves the way the JRE is embedded
Status: | New | Start date: | 01/17/2020 | ||
---|---|---|---|---|---|
Priority: | High | Due date: | |||
Assignee: | - | % Done: | 80% |
||
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()
Related issues
History
#1 Updated by Sebastien Jacquot almost 3 years 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)
#2 Updated by Matthieu Decorde over 1 year ago
- % Done changed from 0 to 80
Solution 0 is done, see #2725 for the solution 1