Apache Commons logo Commons Weaver

Apache Commons Weaver Antlib

Provides an Antlib in the antlib:org.apache.commons.weaver namespace, consisting of the following tasks:

clean

Invokes available Cleaner implementations.

weave

Invokes available Weaver implementations.

Both the weave and clean tasks are parameterized either by nesting or by reference (via the settingsref attribute) with a custom type:

settings

  • target attribute - specifies the location of the classfiles to weave
  • classpath attribute - path string (incompatible with classpathref)
  • classpathref attribute - refid of an Ant path (incompatible with classpath)
  • nested propertyset - Ant PropertySet
  • nested properties - specifies properties using the names and text values of nested elements (looks like Maven POM properties)