ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wei Jiang <>
Subject uptodate takes too long
Date Wed, 07 Mar 2001 20:22:33 GMT
Hi All,

I have a task:

    <property name="buildDir" value="${A_HOME}/build"/>
    <property name="peekPokeJar" value="${buildDir}/peekPoke.jar"/>

  <target name="checkStressJar" depends="checkChartPartsJar">
    <uptodate property="skipStressJar" targetfile="${stressJar}">
      <srcfiles dir="${otherJars}" includesfile="${chartPartsJar}"/>
      <srcfiles dir="${buildDir}"  includesfile="${peekPokeJar}"/>
<!-- this one takes 24 seconds-->
  </target>  <!-- ************************** -->

If checkStressJar is NOT uptodate, it is very fast. But if it is
uptodate, it takes very long time to finish.
I tried to delete one of srcfiles and found that:

The first scrfiles takes less than one second, but the second srcfiles
takes 24 seconds.
Any one knows why?

I am  using Ant 1.2. I tried 1.3, did not find any difference.

Any information would be appreciated. Thanks in advance.

View raw message