https://issues.apache.org/bugzilla/show_bug.cgi?id=32526


Matt Benson <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEEDINFO




--- Comment #7 from Matt Benson <[email protected]>  2009-02-19 08:54:56 PST 
---
A filelist is never empty.  I don't see how it relates.  With regard to a basic
fileset, if you want to be sure it's not empty:

<macro name="failwhenempty">
  <attribute name="refid" />
  <sequential>
    <fail message="fileset @{refid} is empty">
      <condition>
          <resourcecount count="0" refid="@{refid}" />
      </condition>
    </fail>
  </sequential>
</macro>

<fileset id="foo" file="somefoofile" />

<failwhenempty refid="foo" />

You're not re-specifying the files you want, and I've even wrapped this up in a
nice macro, and all in Bugzilla rather than on the userlist.  Does this help?


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

Reply via email to