WARNING: This server provides a static reference view of the NetKernel documentation. Links to dynamic content do not work. For the best experience we recommend you install NetKernel and view the documentation in the live system .

No metadata for Ant

The Apache Ant Build Runtime accessor is a wrapper around the Apache Ant functionality - a Java based build tool which states it's aims as "it is kind of like make, without make's wrinkles."

The runtime executes the build script, outputing to the system log and throwing any unhandled exceptions out.

operator

The operator specifies the identifier of a resource which will be used as the build file. Ant uses an XML format which is documented here. Ant is a filesystem based tool and does not work directly with the ROC address space, so if a file: identifier is specified as the operator that is used directly. If not the resources is SINKed to temporary file and Ant is executed with that file. In that case the build file must not assume any specific location as often build files contain paths relative the location of the build file.

target

Ant defaults to building the default build target and all it's dependencies. However it is possible to specify specific targets to build in a similar way to the command line by specifying one or more target arguments. These are SOURCEd as strings.

config

Ant takes an optional XML configuration resource.

<config>
  <verbose />
  <quiet />
</config>
with the following tags:

  • verbose - produce extra verbose output
  • quiet - produce less output (only errors), mutually exclusive with verbose