ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Better property handling...
Date Thu, 14 Feb 2002 16:04:21 GMT
On Mon, 11 Feb 2002, Dominique Devienne <DDevienne@lgc.com> wrote:

> Ideally, I would like to see false instead of
> ${awregister.manifest-up2date}!

Assuming you don't want to use the property for if/unless attributes:

>     <condition property="awregister.manifest-up2date">
>       <and>
>         <available property="classes-dir-exists"
>                    file="${classes}"
>                    type="dir" />
>         <uptodate targetfile="${awregistration.manifest}">
>           <srcfiles dir="${classes}"
>                     includes="com/lgc/mowi/pres/**/*.class" />
>         </uptodate>
>       </and>
>     </condition>
      <property name="awregister.manifest-up2date" value="false" />
>     <echo message="awregister.manifest-up2date = ${awregister.manifest-up2date}" />

will do the trick.

Stefan

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