Orangevolt ANT Tasks » Tasks » preferences | ||
Example | Example |
get copies a Preferences data entry into a property.
Name | Description | Required |
name | The name of the entry to retrieve. | yes |
property | The name of the property to use as entry data container. | yes |
path |
The path of the node. The path is used relative to the base path defined in the preferences task. If the given path does not exists an exception will be thrown. |
no |
defaultValue |
If the entry was not found in the Preferences path, the defaultValue will be returned, otherwise the property will be not set. |
no |