title: How to write a script in NetBeans to upload a jar on a distant server at build time?
body: <p>I'd like to automatize the following:</p>
  
  <ul>
  <li>when I build my Java SE project on Netbeans, the jar and its dependencies should be uploaded to a server and started.</li>
  </ul>
  
  <p>How do I do that? If scripting or config some xml is involved, Where could I find some tutorial on the syntax to be used?</p>