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)

UNKNOWN: Jun 9, 2002

Method Summary
voidaddConfiguredXMLCatalog(XMLCatalog catalog)
add an XMLCatalog as a nested element; optional.
DTDLocationcreateDTD()
Create a DTD location record; optional.
voidexecute()
voidinit()
Initialize internal instance of XMLCatalog
voidsetTarget(String target)
set the name of the target to be called in each of the modules' build files
VectortopoSort(String root, Hashtable modules)

Method Detail

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()

init

public void init()
Initialize internal instance of XMLCatalog

Throws: BuildException

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)