I have a directory structure like this:
- .../GroovyScriptsRoot
- SubfolderName1/script/ScriptName1.groovy
- SubfolderName2/script/ScriptName2.groovy
- SubfolderName3/script/ScriptName3.groovy
- SubfolderName4/script/ScriptName4.groovy
- ...
So I basically want to do something like this:
GroovyScriptEngine engine = new GroovyScriptEngine(new String[]{".../GroovyScriptsRoot"});
I tried it myself but the scripts do not get loaded. The full path to the scripts is required which is not really nice. Is there a workaround of some sort?