|
|
@@ -191,7 +191,7 @@ |
|
|
|
<code><condition></code> task, which supports various nested conditions, all |
|
|
|
of which extend the interface <tt>Condition</tt>. To integrate a |
|
|
|
custom condition in Ant, you can now simply <code><typedef></code> the |
|
|
|
condition, and then use it anywhere <a href="../develop.html#nestedtype">nested</a> conditions are allowed |
|
|
|
condition, and then use it anywhere nested conditions are allowed |
|
|
|
(assuming the containing element has a generic <tt>add(Condition)</tt> or <tt>addConfigured(Condition)</tt> method): |
|
|
|
</p><pre> <typedef resource="org/example/conditions.properties" uri="<a href="http://example.org/conditions">http://example.org/conditions</a>"/> |
|
|
|
<condition property="prop" xmlns="<a href="http://example.org/conditions">http://example.org/conditions</a>"> |
|
|
|