Task #2491

Improve the R and CQP initialization

Added by Sebastien Jacquot over 1 year ago. Updated 6 months ago.

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

0%

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

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 6 months ago

  • Description updated (diff)

#2 Updated by Sebastien Jacquot 6 months ago

  • Description updated (diff)

#3 Updated by Sebastien Jacquot 6 months ago

  • Description updated (diff)

Also available in: Atom PDF