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 - Engine options should also be listed in the launcher help file
Summary: Engine options should also be listed in the launcher help file
Status: NEW
Alias: None
Product: installer
Classification: Unclassified
Component: NBI (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-19 13:55 UTC by dlipin
Modified: 2014-02-10 14:15 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
First implementation patch (41.48 KB, patch)
2008-09-19 14:06 UTC, dlipin
Details | Diff
Engine sources with the applied changes (1.28 MB, application/octet-stream)
2008-09-22 12:34 UTC, dlipin
Details

Note You need to log in before you can comment on or make changes to this bug.
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.