ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: unless problem ant 1.4.1
Date Thu, 26 Sep 2002 09:37:07 GMT

----- Original Message -----
From: "Jesse Stockall" <jesse@cryptocard.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Friday, September 20, 2002 08:32
Subject: Re: unless problem ant 1.4.1


> On Fri, 2002-09-20 at 11:19, Edward Zarecor wrote:
> >
> > <target name="fail.transfer.complete" unless="${transfer.complete}">
> >     <echo>transfer status: ${transfer.complete}</echo>
> >     <delete file="${run.file}" />
> >     <echo>Completion files are not present. Failing for now.</echo>
> >     <fail />
> > </target>
> >
>
> Use the property name without the ${}
>
> <target name="fail.transfer.complete" unless="transfer.complete">
>
> Ant is looking for a property named "${transfer.complete}" rather then a
> property called "transfer.complete"
>

I wonder if we should fix ant to print warning messages in this situation;
it is a common error. Why even I do it ;)


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