title: How to recompile a netbeans project from commandline?
body: <p>I have a java application develeped in netbeans. I want to create a batchfile that recompiles the project and packs the resulting jar files along with some documentation to a zip file and generate an installer.</p>
  
  <p>The packing and generation of the installer is no problem, but I dont know how to automate the compilation from commandline/batchfile - whenever I change something in the source-code I have to manually click on "Clean and Build" inside netbeans and run my batchfile afterwards.</p>
  
  <p>What do I have to add to the batchfile to do the same as "Clean and Build" from inside netbeans?</p>