defaultLocation = buildURL(new File(System.getProperty(PROP_USER_DIR), "workspace").getAbsolutePath(), true); instanceLocation = buildLocation(PROP_INSTANCE_AREA, defaultLocation, "workspace", false);
temp = buildLocation(PROP_INSTANCE_AREA_DEFAULT, null, "", false); defaultLocation = temp == null ? null : temp.getURL(); if (defaultLocation == null) defaultLocation = buildURL(new File(System.getProperty(PROP_USER_DIR), "workspace").getAbsolutePath(), true); instanceLocation = buildLocation(PROP_INSTANCE_AREA, defaultLocation, "", false);
	public static void initializeLocations() {		URL defaultLocation = buildURL(System.getProperty(PROP_USER_HOME), true);		userLocation = buildLocation(PROP_USER_AREA, defaultLocation, "user", false); //$NON-NLS-1$		defaultLocation = buildURL(new File(System.getProperty(PROP_USER_DIR), "workspace").getAbsolutePath(), true); //$NON-NLS-1$		instanceLocation = buildLocation(PROP_INSTANCE_AREA, defaultLocation, "workspace", false); //$NON-NLS-1$		mungeConfigurationLocation();		// compute a default but it is very unlikely to be used since main will have computed everything		defaultLocation = buildURL(computeDefaultConfigurationLocation(), true);		configurationLocation = buildLocation(PROP_CONFIG_AREA, defaultLocation, CONFIG_DIR, false);		// get the parent location based on the system property. This will have been set on the 		// way in either by the caller/user or by main.  There will be no parent location if we are not 		// cascaded.		URL parentLocation = computeSharedConfigurationLocation();		if (parentLocation != null && !parentLocation.equals(configurationLocation.getURL())) {			Location parent = new BasicLocation(null, parentLocation, true);			((BasicLocation) configurationLocation).setParent(parent);		}		initializeDerivedConfigurationLocations();		// assumes that the property is already set		installLocation = buildLocation(PROP_INSTALL_AREA, null, null, true);	}