next up previous contents
Next: Testing Ant Up: Ant Previous: Installing Ant

Running Ant

Running Ant is simple, when you installed it as described. Just type:
 ant
When nothing is specified, Ant looks for a build.xml file in the current directory. If found, it uses that file as the buildfile. If you use the -find option, Ant will search for a buildfile in the parent directory, and so on, until the root of the filesystem has been reached. To make Ant use another buildfile, use the command-line option -buildfile file, where file is the buildfile you want to use.



Copyright © 2001, R.M. Morriën, H.P.A.M. Snoek, M.A.C. Bakker