ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: 'default' option for Input task
Date Fri, 28 Jun 2002 12:50:25 GMT
On Fri, 28 Jun 2002, Knut Wannheden <knut.wannheden@paranor.ch> wrote:

> I guess it could even be taken a step further where the default
> value was added by the task to the message.

This is a bit difficult to do.

If you made the task add it to the message, it could become not
appropriate for the InputHandler.  The provided
PropertyFileInputHandler uses the message to look up the value to
insert and wouldn't find it if the default value is non deterministic.

> Hopefully this patch will be accepted, which would make life much
> easier for you ;-)

It's in (for Ant 1.6, though).

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message