Part 4: Running the ANT file

Assuming you have ANT installed on your PC, starting the build file can be as easy as navigating to your project directory (in the dos command prompt) and type “ant”. Using this method assumes that your build file has been named “build.xml” and it is in the current directory.

Of course, for a variety of reasons you not have named your build file “build.xml”. If this is the case you then have to tell ANT what file to run.

So for example, if your build file is called “build_database.xml”, the ANT command would be…

ant -buildfile build_database.xml

On to Part 5

Leave a Reply

Your email address will not be published. Required fields are marked *