snippetbashTip
ant — Apache Ant: build and manage Java-based projects. More information: <https://ant.apache.org/manual/i
Viewed 0 times
commandbuildandcliapachemanageant
Problem
How to use the
ant command: Apache Ant: build and manage Java-based projects. More information: <https://ant.apache.org/manual/index.html>.Solution
ant — Apache Ant: build and manage Java-based projects. More information: <https://ant.apache.org/manual/index.html>.Build a project with default build file
build.xml:antBuild a project using build file other than
build.xml:ant {{[-f|-buildfile]}} {{buildfile.xml}}Print information on possible targets for this project:
ant {{[-p|-projecthelp]}}Print debugging information:
ant {{[-d|-debug]}}Execute all targets that do not depend on fail target(s):
ant {{[-k|-keep-going]}}Code Snippets
Build a project with default build file `build.xml`
antBuild a project using build file other than `build.xml`
ant {{[-f|-buildfile]}} {{buildfile.xml}}Print information on possible targets for this project
ant {{[-p|-projecthelp]}}Print debugging information
ant {{[-d|-debug]}}Execute all targets that do not depend on fail target(s)
ant {{[-k|-keep-going]}}Context
tldr-pages: common/ant
Revisions (0)
No revisions yet.