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 21024 Details for
Bug 94859
bundle data discarded on every startup if install != user.dir
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
patch for org.eclipse.osgi
org.eclipse.osgi_bug94859.diff (text/plain), 1.64 KB, created by
Rafael Chaves
on 2005-05-11 23:25:02 EDT
(
hide
)
Description:
patch for org.eclipse.osgi
Filename:
MIME Type:
Creator:
Rafael Chaves
Created:
2005-05-11 23:25:02 EDT
Size:
1.64 KB
patch
obsolete
>Index: eclipseAdaptor/src/org/eclipse/core/runtime/adaptor/EclipseAdaptor.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/adaptor/EclipseAdaptor.java,v >retrieving revision 1.100 >diff -u -r1.100 EclipseAdaptor.java >--- eclipseAdaptor/src/org/eclipse/core/runtime/adaptor/EclipseAdaptor.java 11 May 2005 21:27:35 -0000 1.100 >+++ eclipseAdaptor/src/org/eclipse/core/runtime/adaptor/EclipseAdaptor.java 12 May 2005 03:21:39 -0000 >@@ -128,7 +128,11 @@ > // default the bootdelegation to all packages > if (System.getProperty(Constants.OSGI_BOOTDELEGATION) == null && !Constants.OSGI_BOOTDELEGATION_NONE.equals(System.getProperty(Constants.OSGI_JAVA_PROFILE_BOOTDELEGATION))) > System.getProperties().put(Constants.OSGI_BOOTDELEGATION, ""); //$NON-NLS-1$ >- >+ // we need to set the install path as soon as possible so we can determine >+ // the absolute location of install relative URLs >+ URL installURL = LocationManager.getInstallLocation().getURL(); >+ // assume install URL is file: based >+ installPath = installURL.getPath(); > } > > public void initializeMetadata() { >@@ -333,9 +337,6 @@ > if (location != null) { > locationProperties.put("type", LocationManager.PROP_INSTALL_AREA); //$NON-NLS-1$ > aContext.registerService(Location.class.getName(), location, locationProperties); >- URL installURL = location.getURL(); >- // assume install URL is file: based >- installPath = installURL.getPath(); > } > > register(org.eclipse.osgi.service.environment.EnvironmentInfo.class.getName(), EnvironmentInfo.getDefault(), bundle);
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 94859
: 21024