String osgiFramework = Platform.resolve(Platform.getPluginRegistry().getPluginDescriptor("org.eclipse.osgi").getInstallURL()).toExternalForm();
String osgiFramework = getURL("org.eclipse.osgi");
	private void createConfigINI() throws IOException {		Assert.assertTrue("1.0", !bundles.isEmpty());		Properties contents = new Properties();		StringBuffer osgiBundles = new StringBuffer();		for (Iterator i = this.bundles.iterator(); i.hasNext();) {			osgiBundles.append(i.next());			osgiBundles.append(',');		}		osgiBundles.deleteCharAt(osgiBundles.length() - 1);		contents.put("osgi.bundles", osgiBundles.toString());		String osgiFramework = Platform.resolve(Platform.getPluginRegistry().getPluginDescriptor("org.eclipse.osgi").getInstallURL()).toExternalForm();		contents.put("osgi.framework", osgiFramework);		contents.put("osgi.bundles.defaultStartLevel", "4");		contents.put("osgi.install.area", Platform.getInstallLocation().getURL().toExternalForm());		if (cascaded) {			contents.put(PROP_CONFIG_CASCADED, Boolean.TRUE.toString());			contents.put(PROP_BASE_CONFIG_AREA, Platform.getConfigurationLocation().getURL().toExternalForm());		}		contents.put(PROP_CONFIG_AREA_READ_ONLY, Boolean.toString(readOnly));		// save the properties		File configINI = configurationLocation.append("config.ini").toFile();		OutputStream out = null;		try {			out = new BufferedOutputStream(new FileOutputStream(configINI));			contents.store(out, null);		} finally {			if (out != null)				out.close();		}	}