Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 334160 - [reconciler] Provide mechanism for specifying multiple non-default drop-ins folders
Summary: [reconciler] Provide mechanism for specifying multiple non-default drop-ins f...
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.7   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: 3.6.2   Edit
Assignee: DJ Houghton CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 332971
Blocks:
  Show dependency tree
 
Reported: 2011-01-12 14:45 EST by DJ Houghton CLA
Modified: 2011-01-14 16:21 EST (History)
3 users (show)

See Also:


Attachments
patch (3.92 KB, patch)
2011-01-14 16:16 EST, DJ Houghton CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description DJ Houghton CLA 2011-01-12 14:45:47 EST
Cloned to track release into R36x maintenance branch.

+++ This bug was initially created as a clone of Bug #332971 +++

Currently the user is allowed to specify a System property - org.eclipse.equinox.p2.reconciler.dropins.directory - which points to a location that we will treat as a drop-ins folder. We have had cases where it would be useful to allow the user to specify multiple locations. 

We talked about allowing the property to hold a list of folders but this is hard because the framework currently does not support cascaded System property merging and if we were to change this, changes would have to occur at many levels. (exe, launcher jar, etc)

Tom and I talked briefly about somehow leveraging the links files to do this. And John suggested allowing for variable substitution in the links files, something like:
   path=%company.web.dropins%/web-group
and when we process it, we would look for a "company.web.dropins" System property to do the substitution. 

This would allow the user or product to have multiple link files and drop-ins folders if they wanted.
Comment 1 DJ Houghton CLA 2011-01-14 16:16:15 EST
Created attachment 186850 [details]
patch
Comment 2 DJ Houghton CLA 2011-01-14 16:21:19 EST
Patch released.