ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Berry <christopher.be...@etrade.com>
Subject uptodate -- a second set of eyes
Date Thu, 14 Jun 2001 18:45:14 GMT
Hi, 

I'm wondering if someone would kindly be a second set of eyes for me..
I am attempting to use the uptodate task as follows:
But the property seems to always be true -- even when I can see (in the file
system) that ${efc.jar} is more recent than ${efc.gzfile}
I am probably doing something obvious wrong, yet I don't see it.
Can anyone else see my error???
Thanks very much,
-- Chris

  <!-- ............................. -->
  <!--   check if TAR.GZ is up-to-date   -->
  <!-- ............................. -->

  <target name="checkTarGZUpToDate" depends="jar" >
    <uptodate property="efc.tarGZBuild.notRequired"
targetfile="${efc.gzfile}" >
      <srcfiles dir="${efc.lib}" includes="${efc.jarfile}" />
    </uptodate>

    <echo>
      efc.tarGZBuild.notRequired= ${efc.tarGZBuild.notRequired}
    </echo>
  </target>

  <!-- ....................... -->
  <!--        dist           -->
  <!-- ....................... -->

  <target name="tar" depends="checkTarGZUpToDate"
unless="efc.tarGZBuild.notRequired" >
      .....

Chris Berry  --- christopher.berry@etrade.com  -- 512-323-9479


Mime
View raw message