macOS
brew install antlocal Homebrew formula metadata
brew
ant のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install antlocal Homebrew formula metadata
sudo dnf install antFedora Rawhide package metadata · ant · ソース: dl.fedoraproject.org
nix profile install nixpkgs#antnixpkgs package indexes · pkgs/by-name/an/ant/package.nix · ソース: api.github.com
sudo pacman -S antArch Linux sync databases · ant · ソース: geo.mirror.pkgbuild.com
sudo zypper install antopenSUSE Tumbleweed package metadata · ant · ソース: download.opensuse.org
choco install antChocolatey community package catalog · ant · ソース: community.chocolatey.org
scoop install main/antScoop official bucket manifest trees · bucket/ant.json · ソース: api.github.com
概要
Java build tool
履歴
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.
セキュリティ状態
generalized runtime or code generation signal.
リスク yellow · 信頼度 中 · runtime
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
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.bat実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
ant | cli | グローバル実行可能ファイル | |
antRun | cli | グローバル実行可能ファイル | |
antRun.pl | cli | グローバル実行可能ファイル | |
complete-ant-cmd.pl | cli | グローバル実行可能ファイル | |
runant.pl | cli | グローバル実行可能ファイル | |
runant.py | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:ant |
|---|---|
| バージョン | 1.10.17 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/ant |
| ホームページ | https://ant.apache.org/ |
| リポジトリ | https://gitbox.apache.org/repos/asf?p=ant.git%3Ba%3Dsummary |
| 上流ドキュメント | https://ant.apache.org/faq.html |
| ライセンス | Apache-2.0 |
| ソースアーカイブ | https://www.apache.org/dyn/closer.lua?path=ant/binaries/apache-ant-1.10.17-bin.tar.xz |
| 最終更新 | 2026-06-22T14:02:43-07:00 |
| Pulse | updated |
| 依存関係 | openjdk |
| Bottle | 利用可能 (対象 all) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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-loggingソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.