Story:
The user runs DrJava from the command line with several filename arguments. The files specified do not exist.
Current Behavior:
Nothing happens. DrJava opens in exactly the same way as if none of the non-existant filenames had been entered at all.
Desired Behavior:
New, empty DefinitionsDocuments are created for each of the specified files. The documents are given the same title as specified. The files are marked modified by default, and when the user attempts to save them, the appropriate filename is automatically populated into the dialog.
There is no precedent on Mac OS X or (as far as I know) on Windows for opening files via a command line. There is a precedent in UNIX, however. The behavior specified above is taken from emacs. Pico behaves in the same way, though it only supports one file at a time. I would appreciate comments from users of other UNIX editors.
Logged In: YES
user_id=431096
On second thought, "automatically populated into the dialog" doesn't make sense. If the filename is already known, Save should just write to disk. The only exception would be if there is a file already there by the time our new document is saved. In this case you could prompt to replace or cancel.
Logged In: YES
user_id=1075744
Originator: NO
Reclassified as feature request.
We should either report that the files could not be found or create the files.