diff --git a/docs/faq.html b/docs/faq.html index d51cb5d40..52a0d3c2f 100644 --- a/docs/faq.html +++ b/docs/faq.html @@ -1237,6 +1237,17 @@ shell-prompt> m4 foo.m4 > foo </sequential> </macrodef> +
With the 'props' antlib (external, but also from Ant) you could
+ do the dereferencing with ${${anotherprop}
- not just
+ in the property task - instead everywhere in your buildfile (after
+ registering the required property helper).
+<propertyhelper> + <props:nested /> +</propertyhelper> +<property name="foo" value="foo.value" /> +<property name="var" value="foo" /> +<echo> ${${var}} = foo.value </echo>
How can I delete everything beneath a particular directory, diff --git a/xdocs/faq.xml b/xdocs/faq.xml index 86e981699..11f7dc827 100644 --- a/xdocs/faq.xml +++ b/xdocs/faq.xml @@ -745,6 +745,17 @@ shell-prompt> m4 foo.m4 > foo ]]> +
With the 'props' antlib (external, but also from Ant) you could
+ do the dereferencing with ${${anotherprop}
- not just
+ in the property task - instead everywhere in your buildfile (after
+ registering the required property helper).