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 223905 - A Windows starter EXE should display unknown command line options rather than terminate quietly
Summary: A Windows starter EXE should display unknown command line options rather than...
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Launchers&CLI (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-17 08:26 UTC by ebaumann
Modified: 2014-02-10 14:15 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ebaumann 2012-12-17 08:26:15 UTC
If an application starter executable will be executed with an unrecognized (not consumed, handled) command line option, a RCP suite terminates. This is ok, but the user must have a feedback. On the desktop, the executable will be started usually via a link (shortcut, desktop icon) and that link can contain the user specific command line option.

From the user's point of view, a click on the desktop icon shows the splash screen for a while and then it disappears, the application does not run. Even the log file does not contain any message with the cause. Only if executed in a console (command line, DOS Box), the behaviour cause is visible - e.g. if started with "myapp.exe --not_consumed_cmd_option" - the console shows the cause - but it's not ok at all, because every command line program I know then displays all aviable command line options and their description.

The executable builder should be extended to display a dialog box with a message e.g. "The command line parameter --bla is not valid" (or the RCP should do that).