This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes ant -f Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "ant -f" Watch "ant -f" New topic
Author

ant -f

Abder-Rahman Ali
Ranch Hand

Joined: May 22, 2008
Posts: 138
When we type at a command line:



What does "-f" mean?

Thanks.
Joaquin MorcateJarillo
Greenhorn

Joined: Jan 02, 2009
Posts: 5
It is for using a build file with a name other than the default, build.xml.


Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

If you type:

You can find out all the parameters ant accepts plus a brief explanation of what they do.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Abder-Rahman Ali
Ranch Hand

Joined: May 22, 2008
Posts: 138
Thanks for the answers.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ant -f