if ("folder".equals(System.getProperty(PROP_FRAMEWORK_SHAPE)))
if ("folder".equals(FrameworkProperties.getProperty(PROP_FRAMEWORK_SHAPE)))
	private static String getSysPathFromCodeSource() {		ProtectionDomain pd = EclipseStarter.class.getProtectionDomain();		if (pd == null)			return null;		CodeSource cs = pd.getCodeSource();		if (cs == null)			return null;		URL url = cs.getLocation();		if (url == null)			return null;		String result = url.getFile();		if (result.endsWith(".jar")) { //$NON-NLS-1$			result = result.substring(0, result.lastIndexOf('/'));			if ("folder".equals(System.getProperty(PROP_FRAMEWORK_SHAPE))) //$NON-NLS-1$				result = result.substring(0, result.lastIndexOf('/'));		} else {			if (result.endsWith("/")) //$NON-NLS-1$				result = result.substring(0, result.length() - 1);			result = result.substring(0, result.lastIndexOf('/'));			result = result.substring(0, result.lastIndexOf('/'));		}		return result;	}