ant(1)
π¦ NAME π¦
okay so the big reveal first: ant is a Java based make tool π«Ά that's it, that's the whole vibe β¨
πΈ SYNOPSIS πΈ
ant [OPTIONS] [TARGET [TARGET2 [TARGET3] ...]]
β¨ DESCRIPTION β¨
okay bestie, so you know how make builds your projects? ant does that too, but it's written in Java, which means it runs on literally every platform that has a Java Virtual Machine π that's giving universal π and honestly? It's a total icon for building Java software π
by default, ant grabs its info from build.xml, which is where all the targets are described π
here's the options menu, no cap π
-help,-hβ the help menu for all the command line options π-projecthelp,-pβ shows project help info π§-versionβ shows the version info β¨-diagnosticsβ dumps info that's useful when you're trying to figure out or report a problem π-quiet,-qβ shh, extra quiet mode π€«-silent,-Sβ the minimalist option: only task outputs and build failures get printed π-verbose,-vβ extra chatty mode, tell me everything π£οΈ-debug,-dβ prints debugging info π₯-emacs,-eβ logging without the fancy adornments πΏ-lib <path>β tells ant where to search for jars and classes π¦-logfile <file>β sends the log to the file you pick π-logger <classname>β uses the class you give it to handle logging πͺ-listener <classname>β adds an instance of that class as a project listener π-noinputβ no interactive input allowed, we're not chatting with it mid-build π ββοΈ-buildfile,-file,-f <file>β uses the buildfile you specify instead of the defaultbuild.xml. this is basically ant's version of a Makefile, so iykyk π«Ά-D<property>=<value>β sets the given property to that value π-keep-going,-kβ runs every target that doesn't depend on a failed target. main character energy when one thing breaks but the rest keeps slaying π-propertyfile <name>β loads all properties from that file, but any-Dproperties win if there's a clash π-inputhandler <class>β the class that handles input requests π-find,-s <file>β searches toward the root of the filesystem for the buildfile and uses it. it's like a treasure hunt πΊοΈ-nice <number>β sets the niceness of the main thread, from1(lowest) to10(highest).5is the default, and it's giving balanced π-nouserlibβ runs ant without using the jar files from${user.home}/.ant/libπ-noclasspathβ runs ant without usingCLASSPATHπ§-autoproxyβ Java 5 or later only! uses the OS proxy settings π-main <class>β overrides ant's normal entry point. big override energy π₯
π§ SEE ALSO π§
π AUTHOR π
this page was written by Egon Willighagen <egonw@sci.kun.nl> π«Ά
πΈ that's the whole tea, bestie! this page came from Debian GNU/Linux, dated Feb 2010 π stay buildin' and stay slaying β¨π
π¦ where this page comes from
- debian bookworm: ant 1.10.13-1 Β· Apache-2.0
- debian trixie: ant 1.10.15-1 Β· Apache-2.0
- ubuntu jammy: ant 1.10.12-1 Β· Apache-2.0
- ubuntu noble: ant 1.10.14-1 Β· Apache-2.0
- ubuntu questing: ant 1.10.15-1
- ubuntu resolute: ant 1.10.15-1build1 Β· Apache-2.0
- ubuntu stonking: ant 1.10.18-1 Β· Apache-2.0
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms