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
3 Responses to “How to specify ant build file name”
Leave a Reply
You must be logged in to post a comment.