<typedef>
The <typedef> task enables you define your own data types to be used within a project (usually within your own custom tasks). Typedefs can be used without targets.
Table 4.82 lists the <typedef> attributes.
Attributes | Description |
---|---|
Required | |
name (required unless file or resource has been specified) | The name to give the data type. |
classname (required unless file or resource has been specified) | The name of the class that implements this data type. |
Optional | |
classpath | The class path to use when loading the class specified by classname. |
File | Specifies the name of a properties file that contains name/classname pairs to load. |
loaderref | Specifies a name of a loader to be used to load the class. This ... |
Get Ant Developer’s Handbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.