----- Original Message -----
From: "Jesse Stockall" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to