On 2011-01-25, Matt Benson wrote: > On Jan 25, 2011, at 4:25 AM, Stefan Bodewig wrote:
>> On 2011-01-25, <bode...@apache.org> wrote: >>> Added: >>> >>> ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/ResourceExists.java >>> (with props) >> This is a plain ant condition with no dependency on AntUnit that might >> be useful in core Ant as well. > Shorthand for > <resourcecount count="1"> > <restrict> > <exists> > <resource refid="myresource" /> > </exists> > </restrict> > </resourcecount> > ? ;) Only that the resource can be specified as attribute (which implies property helper syntax) and is likely a bit more efficient. Other than that, yes 8-) Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org