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

           Summary: Zip task default whenempty=skip behavior
           Product: Ant
           Version: 1.6.5
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: [EMAIL PROTECTED]


I am using a task like:
<target name="doLibZip">
  <zip duplicate="preserve" update="true" basedir="${lib.dir}"  
                zipfile="${ear.dir}\${targetEnvironment}\app_lib_.zip">
  </zip>
</target>

Using ant 1.6.2 the default "whenempty skip" behavior works normally. I upgraded
to 1.6.5 and noticed that I am getting zip files with no files in them just
directories. If I explicity put whenempty="skip" in the zip task it behaves
correctly per the ant task pdf guide. I saw this was "fixed" in bug 30365.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to