DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18060>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18060

add aliases for common Ant options, particularly -projecthelp





------- Additional Comments From [EMAIL PROTECTED]  2003-03-17 17:42 -------
Hi Bill,

Not exactly true. Under UNIX, if a wildcard does not glob to anything, it is 
passed to exec as-is. So this means the only case where having a -? option 
would not work is when the user has a file named "-X" in the current directory, 
where X is any character. I think this case is so obscure, it can basically be 
ignored. I have personally never seen a file named "-X" in UNIX or Windows. It 
would be extremely difficult to work with on UNIX (you'd have to pass "--" as 
the first option to most commands).

If you want to be really robust, you could have Ant check for the existence 
of "-X" files in the cwd that have the same name as an option that was passed 
in, and handle it as follows:

  o print a warning, ie "WARNING: A file named -h exists in the current 
directory. The -h option will be ignored. 
  o ignore the -h option

Regards,
Ian

Reply via email to