Decorum

Overview

Decorum is a simple dependency extension to ant. It does the following:

Two minute example

<project ...>
  <!-- Import Decorum -->
  <taskdef name="dependencies"
      classname="org.trapdoor.decorum.Decorum">
    <classpath location="${lib.dir}/decorum.jar" />
  </taskdef>
  
  <dependencies id="deps" libdir="${lib.dir}">
    <dependency name="log4j" />
  </dependencies>
  
  ...
  
  <target name="compile">
    <javac srcdir="${src.dir}" destdir="${build.dir}"
      classpathref="path.deps" />
  </target>

This will find the highest version of log4j available and add it to a classpath reference called “path.deps”.

Documentation

Releases