ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 5092] New: - <jar> task always rebuilds
Date Mon, 26 Nov 2001 17:53:58 GMT
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=5092>.
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=5092

<jar> task always rebuilds

           Summary: <jar> task always rebuilds
           Product: Ant
           Version: 1.5 alpha (nightly)
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: peterj@liberate.com


When not given a manifest, the <jar> task always rebuilds its jar files, whether
any files have changed or not.  This can be demonstrated by running the
following build.xml twice:

<?xml version="1.0"?>
<project name="test" default="test">
        <target name="test">
                <jar file="test.jar" basedir="." includes="*.xml"/>
        </target>
</project>

I will attach a patch that removes a check in isUpToDate(); I'm not sure what
this might break, because I'm not really clear on why it was put there initially.

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message