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.

taskdef.html 892 B

12345678910111213141516171819202122232425262728
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Language" content="en-us">
  4. <title>TaskDef Task</title>
  5. </head>
  6. <body>
  7. <h2><a name="taskdef">Taskdef</a></h2>
  8. <h3>Description</h3>
  9. <p>Adds a task definition to the current project, such that this new task can be
  10. used in the current project.</p>
  11. <p>This task is a form of <a href="typedef.html">Typedef</a> with the
  12. attributes "adapter" and "adaptto" set to the values
  13. "org.apache.tools.ant.TaskAdapter" and "org.apache.tools.ant.Task"
  14. respectively.
  15. <h3>Examples</h3>
  16. <pre> &lt;taskdef name=&quot;myjavadoc&quot; classname=&quot;com.mydomain.JavadocTask&quot;/&gt;</pre>
  17. <p>makes a task called <code>myjavadoc</code> available to Ant. The class <code>com.mydomain.JavadocTask</code>
  18. implements the task.</p>
  19. <hr>
  20. <p align="center">Copyright &copy; 2000-2003 Apache Software Foundation. All rights
  21. Reserved.</p>
  22. </body>
  23. </html>