Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 356022

Summary: [documentation] Provide better default for OSGi instance location
Product: z_Archived Reporter: Thomas Hallgren <thomas>
Component: BuckminsterAssignee: buckminster.core-inbox <buckminster.core-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 356005    
Bug Blocks:    

Description Thomas Hallgren CLA 2011-08-28 07:39:32 EDT
Please document the new behavior implemented as per suggestion below.

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

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)