title: Compile NetBeans project from command line by using Ant
body: <p>I have a NetBeans project I would like to compile from the command line. There are many other questions on StackOverflow about how to do so, but they explain how to compile the project using commands like <code>javac src/*.java</code>.</p>
  
  <p>I haven't changed my NetBeans project's build settings. <strong>By default</strong>, how can I compile my project from the command line using Ant? Once I've built my project, where is the compiled file located, and what format is it in (i.e., .class files, one .jar file, etc.)?</p>
  
  <p>(I understand that asking how to use Ant to compile my project in general is too broad of a question. That's why I'm specifically asking about how to compile using NetBean's default configuration for a project.)</p>
  
  <p>I'm using NetBeans 8.0.2.</p>