<property : Dirname>


Determines the directory name of the specified file. This task can accept the following attributes: Both file and property are required.

When this task executes, it will set the specified property to the value of the specified file up to, but not including, the last path element. If file is a file, the directory will be the current directory.


Attribute Description Type Required?
file Path to take the dirname of. File ?
property The name of the property to set. String ?

Parameters accepted as nested elements