This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 147715

Summary: Engine options should also be listed in the launcher help file
Product: installer Reporter: dlipin <dlipin>
Component: NBIAssignee: Libor Fischmeistr <lfischmeistr>
Status: NEW ---    
Severity: blocker CC: igor_nikiforov
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: First implementation patch
Engine sources with the applied changes

Description dlipin 2008-09-19 13:55:22 UTC
Since it is possible to register custom options [1], it is worth to give the possibility to show their functionality 
and help in the launcher`s help as well.
[1] http://wiki.netbeans.org/NBIExtendingCommandLineOptions
Comment 1 dlipin 2008-09-19 14:06:12 UTC
First drop of implementation provides possibility to pass the option description via getHelpKey() method of the Option 
class. It shows engine options by passing --more argument (alone or together with --help) to the launcher or installer 
bundle.

Open issues: 
1) it is worth to provide different - one for .exe and one for .sh launcher - versions of the key due to the default 
formatting difference. 
2) it is worth to provide functionality to show/hide default engine options in the help (like suggest-install or create-
bundle) since they are not much of interested for the installers` end users.
3) it is questionable but there should be likely a way to show all options (launcher and engine) by passing only --help 
argument (without passing --more option).
4) They can be a mix of 2 and 3: some engine options can be shown in default help (like --look-and-feel or --userdir), 
some (like suggest-install or ignore-lock) - only in --more help.
Comment 2 dlipin 2008-09-19 14:06:54 UTC
Created attachment 70149 [details]
First implementation patch
Comment 3 dlipin 2008-09-22 12:34:52 UTC
Created attachment 70201 [details]
Engine sources with the applied changes
Comment 4 Jiri Rechtacek 2012-10-07 13:05:50 UTC
Assigned to new owner.