Last change
on this file since 14627 was 14627, checked in by oranfry, 17 years ago |
initial import of the gs3-release-maker
|
File size:
972 bytes
|
Line | |
---|
1 | <html>
|
---|
2 |
|
---|
3 | <head>
|
---|
4 | <meta http-equiv="Content-Language" content="en-us">
|
---|
5 | <title>TaskDef Task</title>
|
---|
6 | <link rel="stylesheet" type="text/css" href="../stylesheets/antmanual.css">
|
---|
7 | </head>
|
---|
8 |
|
---|
9 | <body>
|
---|
10 |
|
---|
11 | <h2><a name="taskdef">Taskdef</a></h2>
|
---|
12 | <h3>Description</h3>
|
---|
13 | <p>Adds a task definition to the current project, such that this new task can be
|
---|
14 | used in the current project.</p>
|
---|
15 | <p>This task is a form of <a href="typedef.html">Typedef</a> with the
|
---|
16 | attributes "adapter" and "adaptto" set to the values
|
---|
17 | "org.apache.tools.ant.TaskAdapter" and "org.apache.tools.ant.Task"
|
---|
18 | respectively.
|
---|
19 | <h3>Examples</h3>
|
---|
20 | <pre> <taskdef name="myjavadoc" classname="com.mydomain.JavadocTask"/></pre>
|
---|
21 | <p>makes a task called <code>myjavadoc</code> available to Ant. The class <code>com.mydomain.JavadocTask</code>
|
---|
22 | implements the task.</p>
|
---|
23 | <hr>
|
---|
24 | <p align="center">Copyright © 2000-2004 The Apache Software Foundation. All rights
|
---|
25 | Reserved.</p>
|
---|
26 |
|
---|
27 | </body>
|
---|
28 | </html>
|
---|
29 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.