String resource = System.getProperty(Constants.OSGI_PROPERTIES, Constants.DEFAULT_OSGI_PROPERTIES);
String resource = FrameworkProperties.getProperty(Constants.OSGI_PROPERTIES, Constants.DEFAULT_OSGI_PROPERTIES);
	protected void loadProperties() {		properties = new Properties();		String resource = System.getProperty(Constants.OSGI_PROPERTIES, Constants.DEFAULT_OSGI_PROPERTIES);		try {			InputStream in = null;			File file = new File(resource);			if (file.exists()) {				in = new FileInputStream(file);			}			if (in == null) {				in = getClass().getResourceAsStream(resource);			}			if (in != null) {				try {					properties.load(new BufferedInputStream(in));				} finally {					try {						in.close();					} catch (IOException ee) {					}				}			} else {				if (Debug.DEBUG && Debug.DEBUG_GENERAL)					Debug.println("Skipping osgi.properties: " + resource); //$NON-NLS-1$			}		} catch (IOException e) {			if (Debug.DEBUG && Debug.DEBUG_GENERAL) {				Debug.println("Unable to load osgi.properties: " + e.getMessage()); //$NON-NLS-1$			}		}		// need to set some OSGi Framework properties that only the adaptor would know about		if (addURLMethod != null)			properties.put(Constants.SUPPORTS_FRAMEWORK_EXTENSION, "true"); //$NON-NLS-1$	}