Orangevolt ANT Tasks » Tasks
ExampleSet Preferences data

2.4.  preferences

The preferences task is the interface to the Java Preferences API (available since JAVA 1.4).

preferences let's you read, write, test, import and export data out of the Java Preferences Store. Use this task to setup the required Preferences data for your application.

The preferences task is able to handle a bunch of sub elements containing various commmands executed on the specified part of the Preferences.

You can combine the elements in any kind. The elements (i.e. commands) will be executed in the same order they are defined in the make file.

Attributes

Name Description Required
type Type value has to be either user or system. Depending on the type value a Preferences root will be used. yes
path

The base path of the Preferences subtree to work on. If the given path does not exists it will be created.

no