|
@@ -254,7 +254,14 @@ |
|
|
classpath="path/to/ant-contrib.jar"/> |
|
|
classpath="path/to/ant-contrib.jar"/> |
|
|
</pre> |
|
|
</pre> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>Here the namespace |
|
|
|
|
|
declaration <code>xmlns:antcontrib="antlib:net.sf.antcontrib"</code> |
|
|
|
|
|
allows tasks and types of the AntContrib Antlib to be used with the |
|
|
|
|
|
<code>antcontrib</code> prefix |
|
|
|
|
|
like <code><antcontrib:if></code>. |
|
|
|
|
|
The normal rules of XML namespaces apply and you can declare the |
|
|
|
|
|
prefix at any element to make it usable for the element it is |
|
|
|
|
|
declared on as well as all its child elements.</p> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</body> |
|
|
</body> |
|
|