ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32526] Add "whenempty" attribute to <fileset>
Date Wed, 18 Feb 2009 16:31:27 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=32526





--- Comment #5 from Stefan Bodewig <bodewig@apache.org>  2009-02-18 08:31:26 PST ---
there is no really nice way to do it, agreed.  The problem is the additional
stiff only tarfileset can do (otherwise a filelist would do the trick).

something like

<fail message="Missing files">
  <condition>
    <not>
      <resourcecount count="5">
        <tarfileset src="${patch}/patch-${my.version}.tar.gz"
compression="gzip"/>
      </resourcecount>
    </not>
  </condition>
</fail>

should work as test after you've created the tar file.


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

Mime
View raw message