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.
Summary: | Engine options should also be listed in the launcher help file | ||
---|---|---|---|
Product: | installer | Reporter: | dlipin <dlipin> |
Component: | NBI | Assignee: | 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
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. Created attachment 70149 [details]
First implementation patch
Created attachment 70201 [details]
Engine sources with the applied changes
Assigned to new owner. |