if (registerDescs) registerAppDecriptors(null);  EclipseAppDescriptor defaultDesc = findDefaultApp(); if (defaultDesc != null) defaultDesc.launch(null);
defaultDesc = getAppDescriptor(applicationId); if (defaultDesc == null) {  args = new HashMap(2); args.put(ErrorApplication.ERROR_EXCEPTION, new RuntimeException(NLS.bind(Messages.application_notFound, applicationId, getAvailableAppsMsg()))); defaultDesc = getAppDescriptor(EXT_ERROR_APP); }
	private void startDefaultApp() throws ApplicationException {		boolean noDefault = "false".equalsIgnoreCase(context.getProperty(EclipseAppContainer.PROP_ECLIPSE_APPLICATION_LAUNCH_DEFAULT)); //$NON-NLS-1$		boolean registerDescs = "true".equalsIgnoreCase(context.getProperty(EclipseAppContainer.PROP_ECLIPSE_REGISTER_APP_DESC)); //$NON-NLS-1$		if (noDefault) {			// we are not running the default application; we should register all applications			registerAppDecriptors(null);		} else {			// register all the descriptors if requested to			if (registerDescs)				registerAppDecriptors(null);			// find the default application			EclipseAppDescriptor defaultDesc = findDefaultApp();			if (defaultDesc != null)				defaultDesc.launch(null);		}	}