ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Monsorno <monso...@gmx.de>
Subject Re: How to warn when jar-file in classpath does not exist?
Date Fri, 15 Feb 2002 13:45:17 GMT
"Steve Loughran" <steve_l@iseran.com> writes:

> standard practise is to use <available> to probe for a class you
> need; that decouples you from knowing where the class is
> implemented, then conditional <fail> if you really need that class
> to be there

Yes, but available is _very_ inconvenient, because you always define
two more targets: one that contains the available-task, and one that
is called depending on the available-set-property that does the
appropriate things.

-- 
Martin Monsorno
mailto:monsorno@gmx.de

--
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