Decorum
Overview
Decorum is a simple dependency extension to ant. It does the following:
- Constructs classpaths using a simple list of dependencies.
- Matches jars to the required version (eg “any”, “1.0”, “1.2.3+”)
- Builds the dependencies if no jar is present.
Two minute example
<project ...> <!-- Import Decorum --> <taskdef name="dependencies" classname="org.trapdoor.decorum.Decorum"> <classpath location="${lib.dir}/decorum.jar" /> </taskdef>
This will find the highest version of log4j available and add it to a classpath reference called “path.deps”.
Documentation
- Getting started
- Javadoc
Releases
- 0.5.1 - Build sub-dependencies by default
- Build sub-dependencies unless
build="false"
is specified
- Build sub-dependencies unless
- 0.5.0 - Recursive class-path from jar manifests
- Unless
expandclasspath="false"
is specified, recursively add jar Manifest Class-Path attributes to the output class path
- Unless
- 0.4.12 - Bugfix release
- Fixed inverted logic in id check. How did this happen?
- Refactored dist jar matching code and fixed to match most recent jar
- 0.4.10 - Bugfix release
- Fixed bug in id comparison
- 0.4.9 - Added ability to skip build but still calculate deps
- Added ability to skip build but still calculate deps