NAntContrib Help Function Reference fileset::has-files | v0.92 |
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>