ensureBundlesActive(startBundles); if (debug)
ensureBundlesActive(startBundles); if (debug || System.getProperty(PROP_DEV) != null)
	public static void startup(String[] args, Runnable endSplashHandler) throws Exception {		if (running)			throw new IllegalStateException(EclipseAdaptorMsg.formatter.getString("ECLIPSE_STARTUP_ALREADY_RUNNING")); //$NON-NLS-1$		long start = 0;		processCommandLine(args);		LocationManager.initializeLocations();		log = createFrameworkLog();		loadConfigurationInfo();		loadDefaultProperties();		finalizeProperties();		adaptor = createAdaptor();		((EclipseAdaptor) adaptor).setLog(log);		OSGi osgi = new OSGi(adaptor);		osgi.launch();		String console = System.getProperty(PROP_CONSOLE);		if (console != null)			startConsole(osgi, new String[0], console);		context = osgi.getBundleContext();		publishSplashScreen(endSplashHandler);		Bundle[] startBundles = loadBasicBundles();		// set the framework start level to the ultimate value.  This will actually start things		// running if they are persistently active.		setStartLevel(getStartLevel());		// they should all be active by this time		ensureBundlesActive(startBundles);		if (debug)			logUnresolvedBundles(context.getBundles());		running = true;	}