ant-contrib
« Back to VersTracker
Description:
Collection of tasks for Apache Ant
Type: Formula  |  Latest Version: 1.0b3@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: ant build-automation java tasks development
Install: brew install ant-contrib
About:
Ant-Contrib is a library of custom tasks for the Apache Ant build tool. It extends Ant's core functionality by providing additional logic capabilities like conditionals, loops, and property manipulation. This allows developers to write more dynamic and complex build scripts without needing to create custom Java classes.
Key Features:
  • Provides flow control tasks (if/else, switch, foreach, repeat)
  • Includes property manipulation tasks (var, sortlist, timestamp)
  • Adds math and logic operations for build scripts
  • Seamlessly integrates with existing Ant builds
Use Cases:
  • Implementing conditional logic in Ant build files
  • Iterating over filesets or property lists during builds
  • Performing complex property calculations and manipulations
Alternatives:
  • Ant Core – Ant core lacks flow control; Ant-Contrib adds the missing logic constructs
  • Gradle – Gradle is a modern alternative with built-in Groovy/Kotlin scripting
License: Apache-1.1
Dependencies: ant
Bottles available for: all
Version History
Detected Version Rev Change Commit