// Register subtasks that apply to us (they do if they in xdoclet.xml have declared us as parent)
List modules = ModuleFinder.findModules();
Iterator i = modules.iterator();
while (i.hasNext()) {
XDocletModule module = (XDocletModule) i.next();
List subTaskDefinitions = module.getSubTaskDefinitions();
Iterator j = subTaskDefinitions.iterator();
while (j.hasNext()) {
SubTaskDefinition subTaskDefinition = (SubTaskDefinition) j.next();