ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: Set properties.
Date Wed, 27 Jun 2001 14:44:29 GMT
--- Stefan Bodewig <bodewig@apache.org> wrote:
> <target name="check">
>   <available file="${jar}" property="present "/>
>   <echo message="${jar} present: ${present}" />
> </target>

Except you probably don't really want that <echo> in this target, since it
would always print out, even if ${jar} isn't available, so you'd end up
with output that has an unresolved property:

    [echo] log4j.jar present: ${present}

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Mime
View raw message