DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16119>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16119 Uptodate incorrect when srcfile and targetfile point to files with same date Summary: Uptodate incorrect when srcfile and targetfile point to files with same date Product: Ant Version: 1.5.1 Platform: All OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When srcfile and targetfile point to files of the same date, the property is not set, incorrectly implying that they are not up to date. The following script demonstrates this using a srcfiles element for comparison: ---------- build.xml ---------- <project name="test" default="showbug"> <target name="showbug"> <uptodate property="using.srcfile" targetfile="build.xml" srcfile="build.xml"/> <uptodate property="using.nested.srcfiles" targetfile="build.xml"> <srcfiles dir="." includes="build.xml"/> </uptodate> <echo> Using srcfile attribute, uptodate = ${using.srcfile}</echo> <echo> Using nested srcfiles element, uptodate = ${using.nested.srcfiles}</echo> </target> </project> -------------------- My result is: showbug: [echo] [echo] Using srcfile attribute, uptodate = ${using.srcfile} [echo] [echo] Using nested srcfiles element, uptodate = true -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>