if (args.length == 0) {
usage();
}
String className = args[0];
args = processArgs(args);
WeavingClassLoader wcl = new WeavingClassLoader(Thread.currentThread().getContextClassLoader());
Class<?> mainClass = wcl.loadClass(className);
Method mainMethod = mainClass.getMethod("main", new Class[]{String[].class});
mainMethod.invoke(null,new Object[] {args});
}