Bug #2716

Mis à jour par Matthieu Decorde il y a presque 5 ans

Currently there is a very long compilation time before running any Groovy script scripts (at first run or after editing a script).

h3. Solution

Do not compile the import modules scripts if sources are not newer than the class files. Hence :
- ship the import modules Groovy classes with TXM
- generalize to all Groovy scripts if possible
- compare the class file compilations date with the last source modifications date


Find a way to:
- pre-compile Groovy scripts published by TXM plugins (org.txm.groovy.core, etc.)
- and ensure the pre-compiled classes are overriden by the TXMHOME/scripts/groovy/user Groovy scripts

Retour