target = Class.forName(classname);
} else {
loader = new AntClassLoader(project.getCoreLoader(), project, classpath, false);
loader.setIsolated(true);
loader.setThreadContextLoader();
target = loader.forceLoadClass(classname);
AntClassLoader.initializeClass(target);
}
final Method main = target.getMethod("main", param);
main.invoke(null, argument);
} catch (NullPointerException e) {