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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to