xdoclet.ant.modulesbuilder

Class ModulesGrandBuilderTask


public class ModulesGrandBuilderTask
extends Task

Loops over all modules and builds each one. It builds modules the module depends on first. The module dependency is specified in a module.xml file in the root of each module. It's based on Ant's dependency checking code. Refer to that code for more details.

Version:
$Revision: 1.13 $

Author:
Ara Abrahamian (ara_e_w@yahoo.com)

created
Jun 9, 2002

Method Summary

void
addConfiguredXMLCatalog(XMLCatalog catalog)
add an XMLCatalog as a nested element; optional.
DTDLocation
createDTD()
Create a DTD location record; optional.
void
execute()
void
init()
Initialize internal instance of XMLCatalog
void
setTarget(String target)
set the name of the target to be called in each of the modules' build files
Vector
topoSort(String root, Hashtable modules)

Method Details

addConfiguredXMLCatalog

public void addConfiguredXMLCatalog(XMLCatalog catalog)
add an XMLCatalog as a nested element; optional.

Parameters:
catalog - The feature to be added to the ConfiguredXMLCatalog attribute


createDTD

public DTDLocation createDTD()
Create a DTD location record; optional. This stores the location of a DTD. The DTD is identified by its public Id.

Returns:


execute

public void execute()
            throws BuildException


init

public void init()
            throws BuildException
Initialize internal instance of XMLCatalog


setTarget

public void setTarget(String target)
set the name of the target to be called in each of the modules' build files

Parameters:
target - the target name


topoSort

public final Vector topoSort(String root,
                             Hashtable modules)
            throws BuildException