You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

antcall.html 1.4 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Language" content="en-us">
  4. <title>Ant User Manual</title>
  5. </head>
  6. <body>
  7. <h2><a name="antcall">AntCall</a></h2>
  8. <h3>Description</h3>
  9. <p>Call another target within the same build-file optionally specifying some
  10. properties (param's in this context)</p>
  11. <h3>Parameters</h3>
  12. <table border="1" cellpadding="2" cellspacing="0">
  13. <tr>
  14. <td valign="top"><b>Attribute</b></td>
  15. <td valign="top"><b>Description</b></td>
  16. <td align="center" valign="top"><b>Required</b></td>
  17. </tr>
  18. <tr>
  19. <td valign="top">target</td>
  20. <td valign="top">The target to execute.</td>
  21. <td valign="top" align="center">Yes</td>
  22. </tr>
  23. </table>
  24. <h3>Parameters specified as nested elements</h3>
  25. <h4>param</h4>
  26. <p>Specifies the properties to set before running the specified target. See <a
  27. href="property.html">property</a> for usage guidelines.</p>
  28. <h3>Examples</h3>
  29. <pre>
  30. &lt;target name=&quot;default&quot;&gt;
  31. &lt;antcall target=&quot;doSomethingElse&quot;&gt;
  32. &lt;param name=&quot;param1&quot; value=&quot;value&quot;/&gt;
  33. &lt;/antcall&gt;
  34. &lt;/target&gt;
  35. &lt;target name=&quot;doSomethingElse&quot;&gt;
  36. &lt;echo message=&quot;param1=${param1}&quot;/&gt;
  37. &lt;/target&gt;
  38. </pre>
  39. <p>Will run the target 'doSomethingElse' and echo 'param1=value'.</p>
  40. <hr><p align="center">Copyright &copy; 2000,2001 Apache Software Foundation. All rights
  41. Reserved.</p>
  42. </body>
  43. </html>