title: Eclipse Java not building due to "active git repository"
body: <p>I've got the following error in a java project in Eclipse:</p>
  
  <pre><code>The project was not built due to "Folder contains an active Git repository.
  The folder cannot be moved, renamed or deleted until the team provider is disconnected.". Fix the problem, then try refreshing this project and building it since it may be inconsistent
  </code></pre>
  
  <p>Any ideas?</p>
  
  <p>It's a Processing.org project and it started after I added a .jar external library file to the build path.</p>
  
  <p>Update:
  I've tried committing the git controlled work but that doesn't help.</p>
  
  <p>Update 2:
  I've tried pushing up the work to github, deleting the original folder and git repo, deleting all the metadata for the projects and then cloning it all and adding it to Eclipse again but again with no success, error comes back.</p>