ant

Apache Ant. Tool for building and managing Java-based projects. More information: <https://ant.apache.org>.

Install

All systems
curl cmd.cat/ant.sh
Debian Debian
apt-get install ant
Ubuntu
apt-get install ant
Arch Arch Linux
pacman -S ant
image/svg+xml Kali Linux
apt-get install ant
CentOS
yum install ant
Fedora
dnf install ant
Windows (WSL2)
sudo apt-get update sudo apt-get install ant
OS X
brew install ant
Raspbian
apt-get install ant

Apache Ant. Tool for building and managing Java-based projects. More information: <https://ant.apache.org>.

  • Build a project with default build file `build.xml`:
    ant
  • Build a project using build file other than `build.xml`:
    ant -f buildfile.xml
  • Print information on possible targets for this project:
    ant -p
  • Print debugging information:
    ant -d
  • Execute all targets that do not depend on fail target(s):
    ant -k

© tl;dr; authors and contributors