Automic VaultAutomic Vault

brew

ant を Homebrew, chocolatey, apt, dnf, Nix, pacman, zypper, scoop でインストール

ant のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install ant

local Homebrew formula metadata

Linux

Debian apt確認済み · 92%
sudo apt install ant

Debian stable package indexes · ant · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install ant

Fedora Rawhide package metadata · ant · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#ant

nixpkgs package indexes · pkgs/by-name/an/ant/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S ant

Arch Linux sync databases · ant · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install ant

openSUSE Tumbleweed package metadata · ant · ソース: download.opensuse.org

概要

パッケージ概要

Java build tool

コマンドとエイリアス

  • ant
  • antRun
  • antRun.pl
  • complete-ant-cmd.pl
  • runant.pl
  • runant.py

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 2000: Ant moves from Tomcat into a separate CVS module and becomes Apache Ant.
  • 2000: Tomcat 3.1 ships an early wider-audience Ant version later called Ant 0.3.1.
  • 2000: Ant 1.1 is released as the first official stand-alone product.
  • 2003: Ant 1.6 changes library loading around ANT_HOME/lib and ${user.home}/.ant/lib.
  • 2024: Apache announces the Ant 1.9.x release series end of life.
  • 2026: Apache Ant 1.10.17 is released for Java 8 and higher.

Related projects

  • Apache Ivy is an Ant-related dependency management project.
  • Apache AntUnit is a test framework for Ant build files.
  • Maven and Gradle are later Java build tools that displaced Ant for many new projects but still coexist with it in legacy and bootstrap builds.

セキュリティ状態

リスクレベル: yellow

generalized runtime or code generation signal.

リスク分類器

リスク yellow · 信頼度 中 · runtime

理由

  • generalized runtime or code generation signal

信号

  • text:build tool

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 1 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
./build.xml~/.antrc
Windows
build.xml in current directory%HOME%\antrc_pre.bat%HOME%\antrc_post.bat

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
antcliグローバル実行可能ファイル
antRuncliグローバル実行可能ファイル
antRun.plcliグローバル実行可能ファイル
complete-ant-cmd.plcliグローバル実行可能ファイル
runant.plcliグローバル実行可能ファイル
runant.pycliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版1.10.17
マネージャ更新日2026-06-22
ローカルデータOK
上流not checked
検出された最新未検出

https://ant.apache.org/

インストールメタデータ

パッケージメタデータ

パッケージキー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
Pulseupdated
依存関係openjdk
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameant
Aliases
  • ant@1.10
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

ant 1.10.15-1

Java based build tool like make

http://ant.apache.org

sudo apt install ant
  • Section: java
  • Architecture: all
  • 2 依存関係
  • 5 任意依存関係
  • normalized package name match
  • 一致条件: Ant
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ant from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

ant-doc 1.10.15-1

Java based build tool like make - API documentation and manual

http://ant.apache.org

sudo apt install ant-doc
  • Section: doc
  • Architecture: all
  • Source Package: ant
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Ant
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ant-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

ant-optional 1.10.15-1

Java based build tool like make - optional libraries

http://ant.apache.org

sudo apt install ant-optional
  • Section: java
  • Architecture: all
  • Source Package: ant
  • 1 依存関係
  • 20 任意依存関係
  • normalized package name match
  • 一致条件: Ant
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ant-optional from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

ant

nix profile install nixpkgs#ant
  • normalized package name match
  • 一致条件: Ant
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/an/ant/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

ant 1.10.14-1

Java based build tool like make

http://ant.apache.org

sudo apt install ant
  • Section: universe/java
  • Architecture: all
  • 2 依存関係
  • 5 任意依存関係
  • normalized package name match
  • 一致条件: Ant
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ant from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

ant-doc 1.10.14-1

Java based build tool like make - API documentation and manual

http://ant.apache.org

sudo apt install ant-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: ant
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Ant
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ant-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

ant-optional 1.10.14-1

Java based build tool like make - optional libraries

http://ant.apache.org

sudo apt install ant-optional
  • Section: universe/java
  • Architecture: all
  • Source Package: ant
  • 1 依存関係
  • 20 任意依存関係
  • normalized package name match
  • 一致条件: Ant
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ant-optional from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

ant 1.10.15-38.fc45

Java build tool

https://ant.apache.org/

sudo dnf install ant
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: ant
  • 3 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Ant
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ant from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

ant-antlr 1.10.15-38.fc45

Optional antlr tasks for ant

https://ant.apache.org/

sudo dnf install ant-antlr
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: ant
  • 3 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: Ant
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ant-antlr from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

ant-apache-bcel 1.10.15-38.fc45

Optional apache bcel tasks for ant

https://ant.apache.org/

sudo dnf install ant-apache-bcel
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: ant
  • 3 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: Ant
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ant-apache-bcel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

ant-apache-bsf 1.10.15-38.fc45

Optional apache bsf tasks for ant

https://ant.apache.org/

sudo dnf install ant-apache-bsf
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: ant
  • 3 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: Ant
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ant-apache-bsf from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

ant-apache-oro 1.10.15-38.fc45

Optional apache oro tasks for ant

https://ant.apache.org/

sudo dnf install ant-apache-oro
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: ant
  • 3 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: Ant
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ant-apache-oro from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

ant-apache-regexp 1.10.15-38.fc45

Optional apache regexp tasks for ant

https://ant.apache.org/

sudo dnf install ant-apache-regexp
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: ant
  • 3 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: Ant
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ant-apache-regexp from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

ant-apache-resolver 1.10.15-38.fc45

Optional apache resolver tasks for ant

https://ant.apache.org/

sudo dnf install ant-apache-resolver
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: ant
  • 3 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: Ant
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ant-apache-resolver from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

ant-apache-xalan2 1.10.15-38.fc45

Optional apache xalan2 tasks for ant

https://ant.apache.org/

sudo dnf install ant-apache-xalan2
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: ant
  • 3 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: Ant
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ant-apache-xalan2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

ant-commons-logging 1.10.15-38.fc45

Optional commons logging tasks for ant

https://ant.apache.org/

sudo dnf install ant-commons-logging
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: ant
  • 3 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: Ant
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ant-commons-logging from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment