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

Bug 259142

Summary: Launcher should give error for bad --launcher.ini file spec
Product: [Eclipse Project] Equinox Reporter: Tom Houser <tmhouser>
Component: LauncherAssignee: Project Inbox <equinox.launcher-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: mober.at+eclipse, tjwatson
Version: 3.4.1Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Tom Houser CLA 2008-12-17 12:28:29 EST
If you specify, for example, a file that does not exist in the "--launcher.ini" argument, the launcher does not give an error.  For example:

    eclipse.exe --launcher.ini non-existing-file.ini

Expected:  The launch should fail with an error stating that "non-existing-file.ini" not found.

Actual: The launch continues without using any .ini file without any indication of a problem (except for weird behaviour caused by using default vm and vmargs).
Comment 1 Martin Oberhuber CLA 2010-05-06 09:01:02 EDT
This is related to bug 245362 though slightly different:

Bug 245362 asks about basic syntax checking of arguments.
This bug asks about checking existence of required file arguments.

To me this looks like a nice candidate for requesting a BugDay or community contribution (by setting the bugday and/or helpwanted keywords). The code is in

  :pserver:dev.eclipse.org/cvsroot/rt
  org.eclipse.equinox/framework/bundles/org.eclipse.equinox.executable
  library/eclipse.c
Comment 2 Eclipse Genie CLA 2019-04-29 11:53:10 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 3 Thomas Watson CLA 2019-04-29 16:35:16 EDT
Moving over to launcher.
Comment 4 Eclipse Genie CLA 2021-04-19 16:29:31 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.