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=14743>.
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=14743

uptodate task always returns true, skips all files

           Summary: uptodate task always returns true, skips all files
           Product: Ant
           Version: 1.5.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The task

        <uptodate property="test.notRequired">
            <srcfiles dir="${basedir}" 
                      includes="src/**/*.java"/>
            <mapper type="glob" from="src/*.java" to="build/classes/*.class"/>
        </uptodate>

Always returns true both when the build directory doesn't exist and when the
.java files are newer than the .class files.

ant -v lists all the files with error:
 [uptodate] src\path\File.java skipped - don't know how to handle it

The platform is Windows 2000 with NTFS, in linux everything works fine.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to