ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Reilly" <peter.kitt.rei...@gmail.com>
Subject Re: svn commit: r384261 - /ant/core/trunk/src/main/org/apache/tools/ant/types/defaults.properties
Date Tue, 14 Mar 2006 10:00:24 GMT
I agree with Stefan,
we cannot have "and" etc in defaults.properties

I tried this before by making the and implementation
class implement both the condition "and" and the file selector "and"
but it was not a scalable solution.

Peter


On 3/12/06, Stefan Bodewig <bodewig@apache.org> wrote:
>
> On Wed, 08 Mar 2006, <stevel@apache.org> wrote:
>
> > Now my backwards compatible task has to copy in all the well-known
> > condition names.
>
> ... or extend ConditionBase, this is well known.
>
> Still, your solution only solves part of the problem since we now have
> <and> defined as a condition, but there also is a file selector by
> that name (and custom file selector containers face the same problem
> as custom condition containers).
>
> I'd rather have them defined in a separate conditions antlib
> descriptor as well as a separate selectors antlib descriptor and have
> the user simply refere to them via namespaces.
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message