public class BootstrapStartup {
public static void main(String[] args ){
// initialize the ext location
PluginManager pluginManager = new PluginManager( "/java/cruisecontrol-2.2.1/main/dist" );
try {
Class theMainWindow = pluginManager.loadClass( "net.sourceforge.cruisecontrol.gui.MainWindow" );
Method theBuildMethod = theMainWindow.getDeclaredMethod( "buildWindow", new Class[0] );
theBuildMethod.invoke( theMainWindow, new Object[0] );
}
catch (Exception e ) {
System.out.println( e.toString() );