TaskdefTask

With the TaskdefTask you can import a user task into your buildfile.

Table 55. Attributes

Name Type Description Default Required
classname String The path to the class that defines the TaskClass. n/a Yes, unless the file attribute has been specified.
name String The name the task is available as after importing. If you specify "validate", for example, you can access the task imported here with <validate>. n/a Yes, unless the file attribute has been specified.
file String Name of the file to load definitions from. n/a No
classpath String The classpath to use when including classes. This is added to PHP's include_path. n/a No
classpathref String Reference to classpath to use when including classes. This is added to PHP's include_path. n/a No