title: Can't re-build in Netbeans 7.0
body: <p>I've been trying lately to re-build my project so I can update my executable on my desktop, but for some reason it's failing to build the project showing this error:</p>
  
  <pre><code>    Updating property file: F:\JDA\CalculatorMedii\build\built-clean.properties
  Deleting directory F:\JDA\CalculatorMedii\build
  F:\JDA\CalculatorMedii\nbproject\build-impl.xml:1019: Unable to delete file F:\JDA\CalculatorMedii\dist\CalculatorMedii.jar
  BUILD FAILED (total time: 0 seconds)
  </code></pre>
  
  <p>I tried deleting the file manually, but that gave another error. I restored it. Any idea how to fix this? I should also mention that my project is 100% clean with no errors in the code, and I can run it through NetBeans anytime. The only problem is when I try to rebuild or build&amp;clean it shows that error.</p>
  
  <p>Also I'm using NetBeans 7.0.1</p>
  
  <p>PROBLEM FIXED. Restarting netbeans then building solved this.</p>