NAntContrib Help Function Reference fileset::has-files | v0.93-nightly-2015-02-12 |
[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>