ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Monsorno <>
Subject Re: How to warn when jar-file in classpath does not exist?
Date Fri, 15 Feb 2002 13:45:17 GMT
"Steve Loughran" <> 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

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message