Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330611 - [launcher] Add mechanism for ignoring user specified config.ini values
Summary: [launcher] Add mechanism for ignoring user specified config.ini values
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Launcher (show other bugs)
Version: 3.6.1   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 3.6.2   Edit
Assignee: DJ Houghton CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 330133
Blocks:
  Show dependency tree
 
Reported: 2010-11-18 16:01 EST by DJ Houghton CLA
Modified: 2010-11-22 13:58 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DJ Houghton CLA 2010-11-18 16:01:12 EST
Cloned to track release into Eclipse 3.6.x stream.

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

Tom and I were talking about the problem where we have a shared install and the user has values in their config.ini which cause the install to not load. (for instance after the root user has updated the shared install)

One approach to this would be to implement a mechanism where by the user config.ini values for certain properties could be ignored. 

We've agreed to the following approach:
- we will look for <propertyname>.override.user
- it can be set either in the config.ini from the shared location or by a -D parm on the command line
- if the override property is set (to be any value: getProperty() != null) then the value from the shared install area will override any value from the user config.ini
- if a property value is set via the command-line (e.g. -Dkey=value) then that value will not be over-written
Comment 1 DJ Houghton CLA 2010-11-22 13:58:28 EST
Released into 3.6.2 branch.
Closing.