Automic VaultAutomic Vault

brew

Installer ant avec Homebrew, chocolatey, apt, dnf, Nix, pacman, zypper, scoop

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de ant pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install ant

local Homebrew formula metadata

Linux

Debian aptvérifié · 92%
sudo apt install ant

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

Fedora dnfvérifié · 92%
sudo dnf install ant

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

Nixvérifié · 92%
nix profile install nixpkgs#ant

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

Arch Linux pacmanvérifié · 92%
sudo pacman -S ant

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

openSUSE zyppervérifié · 92%
sudo zypper install ant

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

aperçu

Résumé du paquet

Java build tool

Commandes et alias

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

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

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

posture de sécurité

Niveau de risque : yellow

generalized runtime or code generation signal.

Classificateur de risque

risque yellow · confiance moyen · runtime

Pourquoi

  • generalized runtime or code generation signal

Signaux

  • text:build tool

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 1 plateformes.
  • S’installe avec 1 dépendances d’exécution.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

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

exécutables

Exécutables installés

CommandeTypeExpositionNote
antcliexécutable global
antRuncliexécutable global
antRun.plcliexécutable global
complete-ant-cmd.plcliexécutable global
runant.plcliexécutable global
runant.pycliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-10
version du gestionnaire1.10.17
gestionnaire mis à jour2026-06-22
données localesOK
amontnot checked
dernière version détectéenon détecté

https://ant.apache.org/

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:ant
Version1.10.17
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/ant
Page d'accueilhttps://ant.apache.org/
Dépôthttps://gitbox.apache.org/repos/asf?p=ant.git%3Ba%3Dsummary
Docs amonthttps://ant.apache.org/faq.html
LicenceApache-2.0
Archive sourcehttps://www.apache.org/dyn/closer.lua?path=ant/binaries/apache-ant-1.10.17-bin.tar.xz
Dernière mise à jour2026-06-22T14:02:43-07:00
Pulseupdated
Dépendancesopenjdk
Bouteilledisponible (sur all)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

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

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

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 Dépendances
  • 5 dépendances optionnelles
  • normalized package name match
  • Correspondance par : 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 dépendances optionnelles
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 20 dépendances optionnelles
  • normalized package name match
  • Correspondance par : 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
  • Correspondance par : 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 Dépendances
  • 5 dépendances optionnelles
  • normalized package name match
  • Correspondance par : 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 dépendances optionnelles
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 20 dépendances optionnelles
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 3 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 3 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 3 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 3 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 3 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 3 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 3 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 3 fournit
  • normalized package name match
  • Correspondance par : 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

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • 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