1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/ant.md

25 lines
440 B
Markdown
Raw Normal View History

2020-07-06 19:57:49 +04:00
# ant
> Apache Ant: build and manage Java-based projects.
2020-07-06 19:57:49 +04: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 19:57:49 +04:00
`ant -f {{buildfile.xml}}`
- Print information on possible targets for this project:
`ant -p`
2020-10-27 09:58:52 +03:30
- Print debugging information:
2020-07-06 19:57:49 +04:00
`ant -d`
- Execute all targets that do not depend on fail target(s):
`ant -k`