Bug 65756 - <xslt - file timestamp ?? uptodate check
Summary: <xslt - file timestamp ?? uptodate check
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Core (show other bugs)
Version: 1.10.12
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: Ant Notifications List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-20 12:45 UTC by Stanislav Šimek
Modified: 2021-12-20 12:45 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stanislav Šimek 2021-12-20 12:45:31 UTC
Hi all,
We have following scenario

      <xslt style="#STYLE_FILE#"
        in="#IN_FILE#"
        out="#OUT_FILE_1#"></xslt>

      <xslt style="#ANOTHER_STYLE_FILE#"
        in="#OUT_FILE_1#"
        out="#OUT_FILE_2#">
      <param name="generateShortList" expression="true"/>
      </xslt>

If we run this on machine with Intel I9 11900k (Win10) we are time to time facing a issue that
#OUT_FILE_1# has exactly the same "Modified timestamp" as #OUT_FILE_2#

-> If we re-run this for second time, regeneration runs again because in:
https://github.com/apache/ant/blob/master/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java
 lines 864 and 865 use “>=” 

Can it be modified ?