public Object execute(GroovyCLIContext ctx, CommandLineArgumentsStandard arguments) {
EntryPoint point = (EntryPoint) ctx.getUI().getDomain().getVariable("entry");
EntryPointType type = (EntryPointType) ctx.getUI().getDomain().getVariable("epcli");
ClassLoader original = null;
PassedOption cl = arguments.getOption("cl");
if (cl != null && ctx.getUI().getDomain().getVariable((String) cl.getValue()) instanceof ClassLoader) {
original = Thread.currentThread().getContextClassLoader();
Thread.currentThread().setContextClassLoader((ClassLoader)ctx.getUI().getDomain().getVariable((String) cl.getValue()));
}
String mainClass = (String) arguments.getArgument(0).getValue();
try {