Jul 16

By default ant looks for a build file name build.xml if one is not explicitly specified. To specify an alternate build file name you need to use the -buildfile command line option. For example to execute the compile target in the build file name mybuild.xml you would run:
ant -buildfile mybuild.xml compile

written by objects \\ tags: ,


3 Responses to “How to specify ant build file name”

  1. Gabriela Mcneil Says:

    Useful piece, just what I was searching for

  2. Ivan Milosavljević Says:

    Short and useful. Thank you!

  3. Tushar Says:

    Thank you…I was looking for this.

Leave a Reply

You must be logged in to post a comment.