Bug 225851 - FileUtils in Equinox Fwk Admin is not very thorough in finding path to bundle
Summary: FileUtils in Equinox Fwk Admin is not very thorough in finding path to bundle
Status: RESOLVED WONTFIX
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.4   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Pascal Rapicault CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2008-04-04 17:10 EDT by Timothy Webb CLA
Modified: 2008-11-25 20:56 EST (History)
2 users (show)

See Also:


Attachments
fixes to file utils (2.89 KB, patch)
2008-04-04 17:10 EDT, Timothy Webb CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Webb CLA 2008-04-04 17:10:51 EDT
Created attachment 94930 [details]
fixes to file utils

The code in FileUtils attempts a quick check to find the location of a bundle given some information.  This needs to be more exhaustive in finding the bundle's location or later provisioning operations fail in unexpected ways.  This patch fixes the lookup service to check each of the possible locations for the bundle as well as providing better validation and ensuring the result is what is expected.  Some of these issues were uncovered when installing with non-colocated cache directories as well as doing provisioning of Eclipse 3.3 software via p2.
Comment 1 Pascal Rapicault CLA 2008-04-12 19:43:13 EDT
Jed does that relate to the problem experienced in bug 225864 where the paths to the bundles were not completely specified?

Comment 2 Pascal Rapicault CLA 2008-11-25 20:56:33 EST
The searching should be necessary as we are now forcing the path to every bundle in the BundleInfo to be absolute URIs.