Task #2491

Improve the R and CQP initialization

Ajouté par Sebastien Jacquot il y a presque 7 ans. Mis à jour il y a plus de 4 ans.

Statut:New Début:21/12/2018
Priorité:Normal Echéance:
Assigné à:- % réalisé:

0%

Catégorie:Development Temps passé: -
Version cible: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.

Historique

#1 Mis à jour par Matthieu Decorde il y a plus de 5 ans

  • Description mis à jour (diff)

#2 Mis à jour par Sebastien Jacquot il y a plus de 5 ans

  • Description mis à jour (diff)

#3 Mis à jour par Sebastien Jacquot il y a plus de 5 ans

  • Description mis à jour (diff)

#4 Mis à jour par Matthieu Decorde il y a plus de 4 ans

  • Version cible changé de TXM 0.8.2 à TXM 0.8.4

Formats disponibles : Atom PDF