Feature #3326
Groovy, run scripts outside TXM Groovy script root directory
Statut: | New | Début: | 18/01/2023 | |
---|---|---|---|---|
Priorité: | Normal | Echéance: | ||
Assigné à: | - | % réalisé: | 0% |
|
Catégorie: | Macros | Temps passé: | - | |
Version cible: | TXM 0.8.4 |
Description
Be able to call Groovy scripts outside of the TXM Groovy script root directory
Currently the scripts root directory is TXMHOME/scripts/groovy/user
solution¶
Document : add a symlink to the external Groovy directory in the actual Groovy script root directory. e.g in the "projects" subdirectory : projects/myexternaldirectory
Solution¶
Add a new preference which adds additional paths to the GroovyScriptEngine when it is initialized (one time per TXM session)
Historique
#1 Mis à jour par Matthieu Decorde il y a plus de 2 ans
- Sujet changé de Groovy, run scripts outside TXM Groovy script roto directory à Groovy, run scripts outside TXM Groovy script root directory