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 6069] New: - <jar> with no filesets always recreates JAR
Date Mon, 28 Jan 2002 16:06:09 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=6069>.
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=6069

<jar> with no filesets always recreates JAR

           Summary: <jar> with no filesets always recreates JAR
           Product: Ant
           Version: 1.4.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: jesse.glick@netbeans.com


If you have a JAR with no files:

<jar manifest="..." jarfile="..."/>

it is never considered up-to-date, even if the manifest does not change and the
target *.jar is left alone. This is in 1.4.1 and I think current dev version.
Regression from 1.3 in which this worked: the JAR would not be recreated, and no
message printed, unless the manifest changed.

Attaching simple sample case, and suggested patch which appears to work (only
tested lightly).

Perhaps this could be included in unit tests?

--
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