1. Create a network drive, and map it to some letter;
2. Create a script folder in this network drive and write some scripts in it;
3. Make a GroovyScriptEngine named engine and loads those scripts by calling the loadScriptByName(scriptName, engine.getParentClassLoader()) command.
The load method will take something about 5-40 secs to parse the script file.
We also notice that this delay does not occur while using GroovyClassLoader.
I don't know if this information will be useful, but our network drive is in a Linux machine with Samba.
We do not tested using the run command, because such command is not useful to us.
Vinícius Godoy de Mendonça
Siemens Enterprise Communications