Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 253861 - [fwkAdmin] -install option not taken into account
Summary: [fwkAdmin] -install option not taken into account
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.5   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 3.5 M4   Edit
Assignee: Pascal Rapicault CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 229087 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-04 22:24 EST by Pascal Rapicault CLA
Modified: 2008-11-25 16:28 EST (History)
2 users (show)

See Also:


Attachments
Initial patch (1.11 KB, patch)
2008-11-05 16:37 EST, Pascal Rapicault CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Rapicault CLA 2008-11-04 22:24:49 EST
When the -install option is being set, framework admin does not take it into account which results in mis-calculated paths.
When fixing this we have to be careful with the interaction the -startup has with this option and also whether these two values can be specified in the config.ini
Comment 1 Andrew Niefer CLA 2008-11-05 16:23:46 EST
-install will end up setting osgi.install.area.  This takes precedence over -startup.

the value for -install should be
1) an absolute file url. file:/path/eclipse
     A relative file url will not work as such urls are generally resolved against the osgi.install.area.

2) Not a URL.  An absolute path can be given.  A relative path that is not a file url will be resolved as new File(path), ie, against the current working directory.
Comment 2 Pascal Rapicault CLA 2008-11-05 16:37:03 EST
Created attachment 117145 [details]
Initial patch
Comment 3 Pascal Rapicault CLA 2008-11-14 11:09:36 EST
*** Bug 229087 has been marked as a duplicate of this bug. ***
Comment 4 Pascal Rapicault CLA 2008-11-25 16:28:56 EST
This is now fixed in HEAD.