Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 21963 Details for
Bug 97148
Bad site URLs in platform.xml
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
patch for org.eclipse.update.configurator
org.eclipse.update.configurator_workaround_bug97148.diff (text/plain), 1.17 KB, created by
Rafael Chaves
on 2005-05-30 11:05:23 EDT
(
hide
)
Description:
patch for org.eclipse.update.configurator
Filename:
MIME Type:
Creator:
Rafael Chaves
Created:
2005-05-30 11:05:23 EDT
Size:
1.17 KB
patch
obsolete
>Index: src/org/eclipse/update/internal/configurator/SiteEntry.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.update.configurator/src/org/eclipse/update/internal/configurator/SiteEntry.java,v >retrieving revision 1.38 >diff -u -r1.38 SiteEntry.java >--- src/org/eclipse/update/internal/configurator/SiteEntry.java 25 May 2005 15:23:46 -0000 1.38 >+++ src/org/eclipse/update/internal/configurator/SiteEntry.java 30 May 2005 14:25:30 -0000 >@@ -649,9 +649,11 @@ > > Element siteElement = doc.createElement(CFG_SITE); > >- if (getURL() != null) >- siteElement.setAttribute(CFG_URL, Utils.makeRelative(Utils.getInstallURL(), getURL()).toString()); >- >+ if (getURL() != null) { >+ URL toPersist = (config == null || config.isTransient()) ? getURL() : Utils.makeRelative(Utils.getInstallURL(), getURL()); >+ siteElement.setAttribute(CFG_URL, toPersist.toString()); >+ } >+ > siteElement.setAttribute(CFG_ENABLED, isEnabled() ? "true" : "false"); //$NON-NLS-1$ //$NON-NLS-2$ > siteElement.setAttribute(CFG_UPDATEABLE, isUpdateable() ? "true" : "false"); //$NON-NLS-1$ //$NON-NLS-2$ > if (isExternallyLinkedSite())
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 97148
: 21963 |
21966