public void run ( File file , String [ ] arguments ) throws CompilationFailedException , IOException { GroovyShell shell = new GroovyShell ( getClass ( ) . getClassLoader ( ) , binding ) ; shell . run ( file , arguments ) ; }
A helper method to allow scripts to be run taking command line arguments