Attribute | Description | Required
|
---|---|---|
name | the name of the task | Yes, unless file or resource have been specified. |
classname | the full class name implementing the task | Yes, unless file or resource have been specified. |
file | Name of the property file to load taskname/classname pairs from. | No |
resource | Name of the property resource to load taskname/classname pairs from. | No |
classpath | the classpath to use when looking up classname or resource. | No |
classpathref | Reference to a classpath to use when looking up classname or resource. | No |
loaderRef | the name of the loader that is used to load the class, constructed from the specified classpath. Use this to allow multiple tasks/types to be loaded with the same loader, so they can call each other. ( introduced in ant1.5 ) | No |