try { startDefaultApp(); } catch (ApplicationException e) { FrameworkLog log = Activator.getFrameworkLog(); if (log != null) log.log(new FrameworkLogEntry(Activator.PI_APP, FrameworkLogEntry.ERROR, 0, Messages.application_errorStartDefault, 0, e, null));
String startDefaultProp = context.getProperty(EclipseAppContainer.PROP_ECLIPSE_APPLICATION_LAUNCH_DEFAULT); if (startDefaultProp == null || "true".equalsIgnoreCase(context.getProperty(EclipseAppContainer.PROP_ECLIPSE_APPLICATION_LAUNCH_DEFAULT))) { boolean registerDescs = "true".equalsIgnoreCase(context.getProperty(EclipseAppContainer.PROP_ECLIPSE_REGISTER_APP_DESC));  if (registerDescs) registerAppDescriptors();  try { startDefaultApp(); } catch (ApplicationException e) { Activator.log(new FrameworkLogEntry(Activator.PI_APP, FrameworkLogEntry.ERROR, 0, Messages.application_errorStartDefault, 0, e, null)); if (!registerDescs)  registerAppDescriptors(); } } else {  registerAppDescriptors();
	void start() {		getExtensionRegistry().addRegistryChangeListener(this);		// need to listen for system bundle stopping		context.addBundleListener(this);		// Start the default application		try {			startDefaultApp();		} catch (ApplicationException e) {			FrameworkLog log = Activator.getFrameworkLog();			if (log != null)				log.log(new FrameworkLogEntry(Activator.PI_APP, FrameworkLogEntry.ERROR, 0, Messages.application_errorStartDefault, 0, e, null));		}	}