macOS
brew install antlocal Homebrew formula metadata
brew
Java build tool. Version 1.10.17 via Homebrew; verified 2026-06-22.
install
brew install antlocal Homebrew formula metadata
sudo apt install antDebian stable package indexes · ant · source: deb.debian.org
sudo dnf install antFedora Rawhide package metadata · ant · source: dl.fedoraproject.org
nix profile install nixpkgs#antnixpkgs package indexes · pkgs/by-name/an/ant/package.nix · source: api.github.com
sudo pacman -S antArch Linux sync databases · ant · source: geo.mirror.pkgbuild.com
sudo zypper install antopenSUSE Tumbleweed package metadata · ant · source: download.opensuse.org
choco install antChocolatey community package catalog · ant · source: community.chocolatey.org
scoop install main/antScoop official bucket manifest trees · bucket/ant.json · source: api.github.com
overview
Java build tool
history
Apache Ant is a Java library and command-line build tool that drives build processes described as XML targets and extension points. It became the classic Java-era alternative to Make: portable, task-oriented, and distributed as a packageable command named ant.
Apache's FAQ says Ant began inside the Tomcat code base when Tomcat was donated to the Apache Software Foundation. James Duncan Davidson, also the original Tomcat author, created it to build Tomcat and nothing else.
The same FAQ records the inflection point: other open source Java projects, especially Jakarta and older Java Apache projects, realized Ant solved problems they had with Makefiles. In January 2000 Ant moved to a separate CVS module, became independent of Tomcat, and became Apache Ant. The first stand-alone official release, Ant 1.1, followed on 19 July 2000.
Ant's manual preserves the core convention that made it sticky: running ant with no arguments looks for build.xml in the current directory and runs the default target. That simple file convention became part of Java project muscle memory before Maven and Gradle dominated newer builds.
Ant spread with Apache Jakarta and early Java open source because it replaced platform-specific Make behavior with Java tasks and XML build files. The FAQ explicitly says Ant became the build tool of choice for many projects after starting as Tomcat's build mechanism.
Package-manager adoption followed naturally. A Java developer could install ant from a distro, Homebrew, Chocolatey, Scoop, or Nix, then run the same build.xml across operating systems. The official manual also documents user extension loading through ${user.home}/.ant/lib and ANT_HOME/lib, which gave packaged Ant a stable core while letting developers add optional tasks and third-party jars outside the base package.
The default command is simply ant, which runs build.xml in the current directory. Users can pass -buildfile or -f for another build file, -Dname=value for properties, target names for specific tasks, logging flags such as -quiet and -verbose, and -lib for extra task jars.
The Unix wrapper reads ~/.antrc before startup; the Windows wrapper runs %HOME%\antrc_pre.bat and %HOME%\antrc_post.bat. Those files are startup hooks, while build.xml is the project build definition.
Ant matters to package nerds because it is both build dependency and historical artifact. Many old Java source packages still expect ant, build.xml, and optional task jars, so distros keep it around even when newer Java projects prefer Maven or Gradle.
It also embodies an earlier packaging style: a stable launcher plus ANT_HOME, user-local .ant/lib extensions, and XML task definitions. Understanding Ant explains a large slice of legacy Java packaging, bootstrap builds, and why package recipes so often patch build.xml rather than invoking a generated build graph.
security posture
generalized runtime or code generation signal.
yellow risk · medium confidence · runtime
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
./build.xml~/.antrcbuild.xml in current directory%HOME%\antrc_pre.bat%HOME%\antrc_post.batexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
ant | cli | global executable | |
antRun | cli | global executable | |
antRun.pl | cli | global executable | |
complete-ant-cmd.pl | cli | global executable | |
runant.pl | cli | global executable | |
runant.py | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:ant |
|---|---|
| Version | 1.10.17 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/ant |
| Homepage | https://ant.apache.org/ |
| Repository | https://gitbox.apache.org/repos/asf?p=ant.git%3Ba%3Dsummary |
| Upstream docs | https://ant.apache.org/faq.html |
| License | Apache-2.0 |
| Source archive | https://www.apache.org/dyn/closer.lua?path=ant/binaries/apache-ant-1.10.17-bin.tar.xz |
| Last updated | 2026-06-22T14:02:43-07:00 |
| Pulse | updated |
| Dependencies | openjdk |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ant |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
ant 1.10.15-1
Java based build tool like make
sudo apt install antant-doc 1.10.15-1
Java based build tool like make - API documentation and manual
sudo apt install ant-docant-optional 1.10.15-1
Java based build tool like make - optional libraries
sudo apt install ant-optionalant
nix profile install nixpkgs#antant 1.10.14-1
Java based build tool like make
sudo apt install antant-doc 1.10.14-1
Java based build tool like make - API documentation and manual
sudo apt install ant-docant-optional 1.10.14-1
Java based build tool like make - optional libraries
sudo apt install ant-optionalant 1.10.15-38.fc45
Java build tool
sudo dnf install antant-antlr 1.10.15-38.fc45
Optional antlr tasks for ant
sudo dnf install ant-antlrant-apache-bcel 1.10.15-38.fc45
Optional apache bcel tasks for ant
sudo dnf install ant-apache-bcelant-apache-bsf 1.10.15-38.fc45
Optional apache bsf tasks for ant
sudo dnf install ant-apache-bsfant-apache-oro 1.10.15-38.fc45
Optional apache oro tasks for ant
sudo dnf install ant-apache-oroant-apache-regexp 1.10.15-38.fc45
Optional apache regexp tasks for ant
sudo dnf install ant-apache-regexpant-apache-resolver 1.10.15-38.fc45
Optional apache resolver tasks for ant
sudo dnf install ant-apache-resolverant-apache-xalan2 1.10.15-38.fc45
Optional apache xalan2 tasks for ant
sudo dnf install ant-apache-xalan2ant-commons-logging 1.10.15-38.fc45
Optional commons logging tasks for ant
sudo dnf install ant-commons-loggingsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.