--- Michael Slass <[EMAIL PROTECTED]> wrote: > I'd like to add the capability to make a copy task fail if either > > 1) an explicitly named source file in any of the nested filesets, > mentioned either in an includes attribute, or a nested include tag > does not exist.
For explicitly named files, run an <available> on them, and <fail> if the property's not set. (If running 1.5, <fail unless="propname".../>.) > 2) Any of the wildcard entries specified in the above ways matches > nothing. Define a <fileset>, <pathconvert> it to a property, and <fail> if the property's not set -- ie., the <fileset> is empty (for 1.5Beta3 -- for earlier versions, you'd need to include a <condition> that tests if the property is equal to ""). Diane ===== ([EMAIL PROTECTED]) __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
