Feature #3326

Groovy, run scripts outside TXM Groovy script root directory

Added by Matthieu Decorde 2 months ago. Updated about 1 month ago.

Status:New Start date:01/18/2023
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Macros Spent time: -
Target version: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)

History

#1 Updated by Matthieu Decorde about 1 month ago

  • Subject changed from Groovy, run scripts outside TXM Groovy script roto directory to Groovy, run scripts outside TXM Groovy script root directory

Also available in: Atom PDF