You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/09/01 23:27:26 UTC

DO NOT REPLY [Bug 22865] New: - Zip whenempty attribute is broken

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

Zip whenempty attribute is broken

           Summary: Zip whenempty attribute is broken
           Product: Ant
           Version: 1.5
          Platform: All
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: mandy@ca.ibm.com


Hello,

I've got something like this in my ant files:

<zip destfile="${plugin.directory}/doc.zip" basedir="${plugin.directory}
\transform.out.ad" whenempty="fail">
		<exclude name="*.xml"/>
</zip>

and a zip file is still being created although there is nothing in it.  I found 
something on the internet saying that Zip.setWhenempty() has changed its 
signature from 1.3 to 1.4.  Is this attribute not fixed yet?

If so, please please fix this.

Thanks, Mandy

http://ntu.tw.freebsd.org/FreeBSD/ports/local-distfiles/znerd/jakarta-ant-
1.5.1/WHATSNEW

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