Task #2491

Improve the R and CQP initialization

Added by Sebastien Jacquot over 4 years ago. Updated almost 2 years ago.

Status:New Start date:12/21/2018
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Development Spent time: -
Target version:TXM 0.8.4

Description

Improve the R and CQP initialization.

Some actions in /org.txm.statsengine.r.core/src/org/txm/statsengine/r/core/preferences/RPreferences.java and /org.txm.libs.cqp/src/org/txm/libs/cqp/CQPLibPreferences.java should be done only one time at TXM first run and not each run. (chmod, etc.)

solution

TXM must always ensure that the CQP and R files are executables.

An improvement could be to test the files and fix the rights only if necessary

solution 2

Take a look at the Equinox/P2 metadata mechanism (https://wiki.eclipse.org/Equinox/p2/Engine/Touchpoint_Instructions_35).
PRO: permit to execute some action only at plug-in installation.
CONS: not executed in the SDK context since plug-in are not installed but directly ran from sources projects.

History

#1 Updated by Matthieu Decorde over 3 years ago

  • Description updated (diff)

#2 Updated by Sebastien Jacquot over 3 years ago

  • Description updated (diff)

#3 Updated by Sebastien Jacquot over 3 years ago

  • Description updated (diff)

#4 Updated by Matthieu Decorde almost 2 years ago

  • Target version changed from TXM 0.8.2 to TXM 0.8.4

Also available in: Atom PDF