>It may be good idea to have api to know the list of macros
>available too (it
>may be of help in few other contexts than this).
/**
* Return the current task definition hashtable. The returned
hashtable is
* "live" and so should not be modified.
*
* @return a map of from task name to implementing class
* (String to Class).
*/
public Hashtable getTaskDefinitions() {
return
ComponentHelper.getComponentHelper(this).getTaskDefinitions();
}
List allAvailableTasks = getProject().getTaskDefinitions().keySet();
There is no difference in a task
- implemented in Java and loaded via <taskdef>/AntLib
- implemented in <scriptdef>
- implemented as <macrodef>
Jan
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]