ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nico Seessle" <n...@seessle.de>
Subject Re: [NEW TASK] require
Date Tue, 19 Sep 2000 08:07:25 GMT
----- Original Message -----
From: "Stefan Bodewig" <bodewig@bost.de>
To: <ant-dev@jakarta.apache.org>
Sent: Tuesday, September 19, 2000 9:45 AM
Subject: Re: [NEW TASK] require


> >>>>> "JD" == Jason Dillon <jason@boldfish.com> writes:
>
>  JD> Hello, here is a new task which is a lot like available, except
>  JD> that it will throw an exception if the given resource is not
>  JD> available.
>
> we could add if/unless attribute to fail to merge these targets into a
> single one though.
>

And/or maybe a fail attribute to the available task? (Although that seems a
bit ugly since you may think this does something like "fail if this is
available") Maybe adding something like require="true" would be better.
You can save one more task with this unless you really want to check the
existence of a property :-)

Nico



Mime
View raw message