this.addOption("cl", String.class, "Use the class loader from the groovy environment using the name specified", "");
}
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();