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-->
</uptodate>
</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.