ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <>
Subject RE: [PATCH] Support for multiple source paths in javac
Date Wed, 22 Mar 2000 23:07:22 GMT

> In short, we are slowly accumulating a patchwork quilt of ad-hoc
> mechanisms.
> I'd like to propose that in all cases we support nested XML elements.  In
> many cases, I believe that this will be sufficient.  If necessary, we can
> support delimited lists in attributes as an alternate syntax.

OK, cool by me. My use of a comma separated list was motivated by the usage
in the 'depends' attribute and the relative platform independence of comma
separators. Are you are proposing to use this approach for all attributes
which can take multiple values including 'depends' so something like

<target name="...">
  <depend name="..." />

Is the ordering of the child elements guaranteed?

I find the alternative, delimited attribute approach is often more concise.
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 :-)

I'll wait for Patrick's patch to update the support for multiple source dirs


View raw message