ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sven Kuenzler <>
Subject <uptodate/>
Date Thu, 13 Nov 2003 14:21:47 GMT
How is the uptodate Task supposed to be working?

    <target name="checkhelp" depends="prepare">
      <uptodate property="help-current"

    <target name="help" depends="checkhelp,helpfiles"/>

    <target name="helpfiles" unless="${help-current}">
       <echo message="${help-current}"/>

Calling "ant help" gives "true" or "${help-current}" as output, 
depending on whether the srcfile is newer or older than the target. 
However, I would have hoped that the helpfiles task is not called at all 
when the target is up to date.

Did I miss anything?

Ant version is 1.5(.3)

	Thanks, Sven

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message