next up previous contents index
Next: Parameters specified as nested Up: Property Previous: Description   Contents   Index

Parameters

name the name of the property to set. No
Attribute
value
location
refid
the value of the property.
Sets the property to the absolute filename of the given file. If the value of this attribute is an absolute path, it is left unchanged (with / and
characters converted to the current platforms conventions). Otherwise it is taken as a path relative to the project's basedir and expanded.
Reference to an object defined elsewhere. Only yields reasonable results for references to PATH like structures or properties.
One of these, when using the name attribute
resource
file
environment
the resource name of the property file.
the filename of the property file.
the prefix to use when retrieving environment variables. Thus if you specify environment="myenv" you will be able to access OS-specific environment variables via property names "myenv.PATH" or "myenv.TERM". Note that if you supply a property name with a final "." it will not be doubled. i.e. environment="myenv." will still allow access of environment variables through "myenv.PATH" and "myenv.TERM". This functionality is currently only implemented on select platforms. Feel free to send patches to increase the number of platforms this functionality is supported on ;).

Note also that properties are case sensitive, even if the environment variables on your operating system are not, e.g. it will be ${env.Path} not $env.PATH on Windows 2000.

One of these, when not using the name attribute
classpath the classpath to use when looking up a resource. No
classpathref the classpath to use when looking up a resource, given as reference to a <path> defined elsewhere.. No
prefix Prefix to apply to properties loaded using file or resource. A "." is appended to the prefix if not specified. No


next up previous contents index
Next: Parameters specified as nested Up: Property Previous: Description   Contents   Index
Andrew Marlow 2003-07-08