ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Stockall <je...@cryptocard.com>
Subject Re: unless problem ant 1.4.1
Date Fri, 20 Sep 2002 15:32:56 GMT
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"

Jesse

-- 
 Jesse Stockall
 jesse@cryptocard.com


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