You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/11/21 18:36:24 UTC

DO NOT REPLY [Bug 14743] New: - uptodate task always returns true, skips all files

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: ant-dev@jakarta.apache.org
        ReportedBy: Joni.hahkala@cern.ch


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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>