ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <>
Subject Re: PathTokenizer
Date Sat, 14 Jul 2007 22:52:09 GMT

--- Charles McLouth <> wrote:

> A newbie question:
> Is there a particular reason why the PathTokenizer 
> (src/main/org/apache/tools/ant/
> isn't coded to handle quoted 
> windows paths?
> ex:
> "C:\a whitespace path\a whitespace file"

Can you give a better example of what you think should
be happening that isn't?  In general, Java IO
implementations are perfectly capable of understanding
individual file paths with embedded whitespace, so
AFAIK quoting paths is considered to be a convenience
for working with shells (for example, in *nix shells
one can simply escape ws chars rather than quoting
them).  Quoting individual components of a larger path
structure would be similarly irrelevant/redundant.


> I have a fix, but wanted to know if there was a
> valid reason that I did not see.
> thanks,
> charlie
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy)
at Yahoo! Games.  

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message