Automic VaultAutomic Vault

brew

ant mit Homebrew, chocolatey, apt, dnf, Nix, pacman, zypper, scoop installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für ant in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install ant

local Homebrew formula metadata

Linux

Debian aptverifiziert · 92%
sudo apt install ant

Debian stable package indexes · ant · Quelle: deb.debian.org

Fedora dnfverifiziert · 92%
sudo dnf install ant

Fedora Rawhide package metadata · ant · Quelle: dl.fedoraproject.org

Nixverifiziert · 92%
nix profile install nixpkgs#ant

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

Arch Linux pacmanverifiziert · 92%
sudo pacman -S ant

Arch Linux sync databases · ant · Quelle: geo.mirror.pkgbuild.com

openSUSE zypperverifiziert · 92%
sudo zypper install ant

openSUSE Tumbleweed package metadata · ant · Quelle: download.opensuse.org

Windows

Chocolateyverifiziert · 92%
choco install ant

Chocolatey community package catalog · ant · Quelle: community.chocolatey.org

Scoopverifiziert · 92%
scoop install main/ant

Scoop official bucket manifest trees · bucket/ant.json · Quelle: api.github.com

Überblick

Paketzusammenfassung

Java build tool

Befehle und Aliase

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

Verlauf

Projektgeschichte und Nutzung

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.

Projektgeschichte

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.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

  • 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.

Sicherheitslage

Risikostufe: yellow

generalized runtime or code generation signal.

Risikoklassifikator

yellow Risiko · mittel Konfidenz · runtime

Warum

  • generalized runtime or code generation signal

Signale

  • text:build tool

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 1 Plattformziele verfügbar.
  • Installiert mit 1 Laufzeitabhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

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

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
antcliglobales Executable
antRuncliglobales Executable
antRun.plcliglobales Executable
complete-ant-cmd.plcliglobales Executable
runant.plcliglobales Executable
runant.pycliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-10
Manager-Version1.10.17
Manager aktualisiert2026-06-22
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://ant.apache.org/

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:ant
Version1.10.17
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/ant
Homepagehttps://ant.apache.org/
Repositoryhttps://gitbox.apache.org/repos/asf?p=ant.git%3Ba%3Dsummary
Upstream-Dokumentationhttps://ant.apache.org/faq.html
LizenzApache-2.0
Quellarchivhttps://www.apache.org/dyn/closer.lua?path=ant/binaries/apache-ant-1.10.17-bin.tar.xz
Zuletzt aktualisiert2026-06-22T14:02:43-07:00
Pulseupdated
Abhängigkeitenopenjdk
Bottleverfügbar (auf all)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

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

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

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 Abhängigkeiten
  • 5 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: 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 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: 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 Abhängigkeiten
  • 20 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: 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
  • Abgeglichen nach: 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 Abhängigkeiten
  • 5 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: 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 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: 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 Abhängigkeiten
  • 20 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: 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 Abhängigkeiten
  • 2 stellt bereit
  • normalized package name match
  • Abgeglichen nach: 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 Abhängigkeiten
  • 3 stellt bereit
  • normalized package name match
  • Abgeglichen nach: 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 Abhängigkeiten
  • 3 stellt bereit
  • normalized package name match
  • Abgeglichen nach: 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 Abhängigkeiten
  • 3 stellt bereit
  • normalized package name match
  • Abgeglichen nach: 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 Abhängigkeiten
  • 3 stellt bereit
  • normalized package name match
  • Abgeglichen nach: 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 Abhängigkeiten
  • 3 stellt bereit
  • normalized package name match
  • Abgeglichen nach: 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 Abhängigkeiten
  • 3 stellt bereit
  • normalized package name match
  • Abgeglichen nach: 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 Abhängigkeiten
  • 3 stellt bereit
  • normalized package name match
  • Abgeglichen nach: 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 Abhängigkeiten
  • 3 stellt bereit
  • normalized package name match
  • Abgeglichen nach: 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

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • 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