DPML
DPML Transit Plugin Task
HomeUtilitiesStationMetroDepotTransit
Plugin Task

The plugin task locates plugin meta-data, and from that data, creates a classloader, loads the plugin from the repository, and declares to ant any tasks, taskdefs, and/or listeners that the user declares.

Example of a request to load an antlib.

  <transit:plugin uri="artifact:part:dpml/depot/dpml-tools-builder#1.1.3"/>

Example of a request to load and register a single task definition.

    <transit:plugin uri="${spec}">
      <task class="net.dpml.library.DocTask" name="docs"/>
    </transit:plugin>
    <docs/>