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

Bug 359709

Summary: enhance osgi.console.enable.builtin to specify the console bundle and activate it.
Product: [Eclipse Project] Equinox Reporter: Thomas Watson <tjwatson>
Component: FrameworkAssignee: Thomas Watson <tjwatson>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: l.kirchev
Version: 3.7   
Target Milestone: Juno M3   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Thomas Watson CLA 2011-10-03 09:48:45 EDT
If osgi.console.enable.builtin is specified it would be nice to allow the value to be a the BSN of the bundle that provides the equinox console support (i.e. org.eclipse.equinox.console.supportability).  I suggest that if the value of osgi.console.enable.builtin=false then the EclipseStarter should attempt to locate and start the default equinox console bundle (org.eclipse.equinox.console.supportability).  If the value of osgi.console.enable.builtin=<!(true|false)> then we use the value as the BSN of the console support bundle.

If the console bundle cannot be found but the osgi.console property is set then we should log an error.  If the console bundle is found but fails to start we should log an error.
Comment 1 Thomas Watson CLA 2011-10-03 09:54:26 EDT
If no -console option is specified or it is specified to a port then the EclipseStarter should set gosh.args=--nointeractive

This is to ensure that no console is started on standard in/out.