Task #2491

Updated by Sebastien Jacquot 5 months ago

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.)

h3. 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

h3. solution 2

Take a look at the Equinox/P2 P¨2.inf metadata mechanism (https://wiki.eclipse.org/Equinox/p2/Engine/Touchpoint_Instructions_35). mechanism.
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.