tldr/pages/common/ant.md

25 lines
440 B
Markdown
Raw Normal View History

2020-07-06 16:57:49 +01:00
# ant
> Apache Ant: build and manage Java-based projects.
2020-07-06 16:57:49 +01:00
> More information: <https://ant.apache.org>.
- Build a project with default build file `build.xml`:
`ant`
- Build a project using build [f]ile other than `build.xml`:
2020-07-06 16:57:49 +01:00
`ant -f {{buildfile.xml}}`
- Print information on possible targets for this project:
`ant -p`
2020-10-27 06:28:52 +00:00
- Print debugging information:
2020-07-06 16:57:49 +01:00
`ant -d`
- Execute all targets that do not depend on fail target(s):
`ant -k`