ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@gmail.com>
Subject Re: ResourceExists condition (was Re: svn commit: r1063181 - in /ant/antlibs/antunit/trunk: ./ docs/ src/etc/testcases/ src/main/org/apache/ant/antunit/ src/tests/junit/org/apache/ant/antunit/)
Date Tue, 25 Jan 2011 16:43:20 GMT

On Jan 25, 2011, at 4:25 AM, Stefan Bodewig wrote:

> On 2011-01-25, <bodewig@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>

?  ;)

-Matt

> I added it to AntUnit rather than Ant's trunk so that we can release
> AntUnit (if we ever want to) without having to release Ant first.
> 
> Stefan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message