Apache Props Antlib
Apache Props Antlib™
This is a library of supplementary handlers for Apache Ant properties resolution.
The types provided are instances of
org.apache.tools.ant.PropertyHelper.Delegate and
can be invoked using the <propertyhelper>
task provided in Ant 1.8.0.
| Delegate | Delegate Type | Description |
|---|---|---|
| nested | PropertyExpander |
Implements nested property expansion;
e.g. ${${double-expand-me}}.
|
| stringops | PropertyEvaluator | Implements *nix shell-inspired string operations. |
| types | PropertyEvaluator |
Given type(arg), attempts
to invoke
type constructor (project, arg),
then (arg).
|
| conditions | PropertyEvaluator |
Given condition([arg1=value1,arg2=value2,...]),
attempts to invoke an Ant condition of the given name
setting the given attibute values and evaluates to either
Boolean.TRUE or Boolean.FALSE. Usage looks
like ${os(family=unix)} / ${!os(family=unix)}.
|
| encodeURL | PropertyEvaluator |
Given encodeURL:arg, attempts to encode arg
as a URL per the suggested approach in the javadoc API of java.net.URL.
|


