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 | ? |