Gant script cacheing causing problems

81 views Asked by At

this is driving me crazy - i'm trying to 'fix' a broken plugin and its using Gant scripts.

when i create a script it seems to run it - but if i create an error in a script and try and back the change out by deleting it - running the script a second time throws the same error.

i'm using the grails command history button in GGTS to run the script 'say test-script' where i have a created TestScript in the scripts directory. Its like its somehow caching the scripts- and the last broken one seems to be the one it keeps running -

any ideas how to force it to reload the corrected script on the next run ?

1

There are 1 answers

6
Burt Beckwith On

Delete the class(es) from the scriptCache folder where they're compiled, which should be in your work directory (target/scriptCache or target/work/scriptCache),