Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356005 - Provide better default for OSGi instance location
Summary: Provide better default for OSGi instance location
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Buckminster (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: buckminster.core-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 356022
  Show dependency tree
 
Reported: 2011-08-27 11:35 EDT by Thomas Hallgren CLA
Modified: 2019-02-25 14:40 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Hallgren CLA 2011-08-27 11:35:03 EDT
When a product is built, no osgi.instance.area.default property is emitted to the configuration/config.ini. This property is used when the default workspace location is determined. Since it's not specified, the decision is left to the equinox runtime. The locations chosen are not ideal.

The default can be overridden in the product definition file (as a configuration) but that affects all platforms. A default can also be defined in a custom config.ini file but that is overridden by any default defined in the product file. Finally, a default can be added using an additional tooling unit in a p2.inf file. Plenty of options but the functional ones are fairly complex.

In order to keep this simple, Buckminster should check if a default has been specified in any of the locations listed above, and if not, provide a more sane default than the one chosen by the equinox runtime. The default chosen by Buckminster should be:

@user.home/Documents/workspace (MacOSx)
@user.home/workspace (all other platforms)