View | Details | Raw Unified | Return to bug 97148
Collapse All | Expand All

(-)src/org/eclipse/update/internal/configurator/SiteEntry.java (-3 / +5 lines)
Lines 649-657 Link Here
649
649
650
		Element siteElement = doc.createElement(CFG_SITE);
650
		Element siteElement = doc.createElement(CFG_SITE);
651
		
651
		
652
		if (getURL() != null)
652
		if (getURL() != null) {
653
			siteElement.setAttribute(CFG_URL, Utils.makeRelative(Utils.getInstallURL(), getURL()).toString());
653
			URL toPersist = (config == null || config.isTransient()) ? getURL() : Utils.makeRelative(Utils.getInstallURL(), getURL());
654
654
			siteElement.setAttribute(CFG_URL, toPersist.toString());
655
		}
656
		
655
		siteElement.setAttribute(CFG_ENABLED, isEnabled() ? "true" : "false"); //$NON-NLS-1$ //$NON-NLS-2$
657
		siteElement.setAttribute(CFG_ENABLED, isEnabled() ? "true" : "false"); //$NON-NLS-1$ //$NON-NLS-2$
656
		siteElement.setAttribute(CFG_UPDATEABLE, isUpdateable() ? "true" : "false"); //$NON-NLS-1$ //$NON-NLS-2$
658
		siteElement.setAttribute(CFG_UPDATEABLE, isUpdateable() ? "true" : "false"); //$NON-NLS-1$ //$NON-NLS-2$
657
		if (isExternallyLinkedSite()) 
659
		if (isExternallyLinkedSite()) 

Return to bug 97148