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

Jar task always updates

           Summary: Jar task always updates
           Product: Ant
           Version: 1.5Beta1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


If update="true", The jar task always updates the jar if a nested manifest is
specified.  It seems that when update is true, the zip task renames the old jar,
but calls isUpToDate() with the original unrenamed jar, so the jar task can't
find the manifest as the jar it is given doesn't exist - perhaps the zip task
should pass the renamed file to isUpToDate()

e.g.
<jar jarfile="foo.jar" update="true">
  <manifest>
    <attribute name="foo-ver" value="1.0"/>
  </manifest>
</jar>

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

Reply via email to