NAntContrib Help Function Reference fileset::has-files | v0.92-nightly-2012-06-01 |
[This is preliminary documentation and subject to change.]
Determines whether <fileset> contains any files.
bool fileset::has-files(fileset)
Name | Type | Description |
---|---|---|
fileset | string | The id of the fileset to check. |
Perform conditional processing on a fileset if it contains files.
<fileset id="test.fileset"> <include name="**/*.cs"> </fileset> <if test="${fileset::has-files('test.fileset')}"> <dostuff... /> </if>