>>>>> "Robert" == Robert Schuster <[EMAIL PROTECTED]> writes:

Robert> What my implementation does not handle is whitespace inside filenames
Robert> and quoting. However I am not sure whether this is supported in filelist
Robert>  anyway.

Somewhere there is a rule for how javac handles this.  As I recall,
jacks had a test for it; this is what I used when writing gcjx :)

In any case, it is easy enough to test the JDK jar to see what it
does.

Robert> It may be possible that some tools need @file support and some
Robert> not (Does anyone know more about this?). And such a case I
Robert> would change the getopt API to explicitly request @file
Robert> support in parse().

I think it is fine to add some code to the generic parser to let
subclasses treat '@' specially, if that is needed.

I am less sure about adding java-specific file name parsing to the
generic command-line parser code.  That code is not supposed to be
specific to java tooling (at least frysk uses it, fwiw).

Tom

Reply via email to