DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29683>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29683

Jar task with zipgroupfileset always builds the jar file

           Summary: Jar task with zipgroupfileset always builds the jar file
           Product: Ant
           Version: 1.6.1
          Platform: All
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The jar task which contains a nested zipgroupfileset element, and does not 
specify an external manifest file, will always rebuild the jar file, even if 
it is up to date.  Apparently an internal manifiest file is constructed, and 
its date checked against that of the jar file, which will always be out of 
date.   The following snipped is one that always builds the jar file, but it
starts behaving normally when I add an manifest parameter.

<jar destfile="${outdir}/CountServer.jar">
    <zipfileset dir="${classdir}" includes="**/*.class"/>
    <zipgroupfileset refid="libraries"/>
</jar>

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

Reply via email to