ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Uther <>
Subject RE: [PATCH] Support for multiple source paths in javac
Date Thu, 23 Mar 2000 03:06:07 GMT

--On Wednesday, March 22, 2000 11:24 PM +0000 Robin Green 
<> wrote:

>> Should we always support that? Also if we are going to support it, we
>> should
>> agree on a single delimiter (or set of delimiters, if necessary). A
>> common method to tokenize such delimited lists would then be possible.
>> Naturally I vote for the comma as delimiter :-)
> +1
> : is bad on win32, ; may be confused with : (I've done it before!)
> Comma is unconfusing and shouldn't be used within filenames, so no
> problems there.

  A few comments on delimiter choice:

  i) There is a platform dependant path separator already, but I assume we 
want build files to be cross platform.
  ii) ',' is a legal character in many file-systems (and turns up in RCS 
generated filenames all the time :)
  iii) ':' is already used inside of Project.translatePath(), and given 
that the rest of Ant uses unix-style paths it would seem that ':' is the 
most consistant thing to use.


\x/ill         :-}

View raw message