2009/04/15 - Apache HiveMind has been retired.

For more information, please explore the Attic.

Jakarta > HiveMind
Jakarta
 
Font size:      

ConstructRegistry Ant Task

Reads some number of HiveMind module descriptors and assembles a single registry file from them. The output registry consists of a <registry> element which contains one <module> element for each module descriptor read. This registry is useful for generating documentation.

The registry XML is only updated if it does not exist, or if any of the module deployment descriptor is newer.

This task is implemented as org.apache.hivemind.ant.ConstructRegistry.

Parameters

Attribute Description Required
output The file to write the registry to. Yes

Parameters specified as nested elements

descriptors

A path-like structure, used to identify which HiveMind module descriptors (hivemodule.xml) should be included.

Each path element should either be a module deployment descriptor, or be a JAR containing a deployment descriptor (in the META-INF folder).

Examples

Create target/registry.xml from all hivemodule.xml descriptors found inside the src directory.

<constructregistry output="target/registry.xml">
  <descriptors>
    <fileset dir="src">
      <include name="**/hivemodule.xml"/>
    </fileset>
  </descriptors>
</constructregistry>