title: Netbeans doesn't see classes from referenced library
body: <p>I'm using netbeans 7.2 with NBAndroid extension. In my android project, I'm referencing a library (ActionBarSherlock) that is not in jar (can't be, for some reason). The problem is, that netbeans doesn't see classes from that library and gives me errors (package does not exist etc.) However it builds and runs OK, the library is added correctly. Netbeans just doesn't see it. </p>
  
  <p>Here is a <a href="http://oi50.tinypic.com/10fq9i0.jpg" rel="nofollow noreferrer">screenshot</a>.</p>
  
  <p>Here is similar question, no solution <a href="https://stackoverflow.com/questions/12060208/package-com-actionbarsherlock-app-does-not-exist">package com.actionbarsherlock.app does not exist</a></p>
  
  <p>Is there a way to fix this? Thanks for help!</p>
  
  <hr>
  
  <p><strong>EDIT:</strong> So I found a way to solve this, it's more a workaround than a solution. I created a jar file from the library classes called classes.jar. I put it in the libs folder, so netbeans sees it. Than I created custom_rules.xml (it's imported via build.xml). In it I move classes.jar away from the libs folder, so I can build it, and in the end I move it back. </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project name="imported"&gt;
  
      &lt;copy file="libs/classes.jar" todir="./" /&gt;
      &lt;delete file="libs/classes.jar" /&gt;
  
      &lt;target name="-post-compile"&gt;
          &lt;copy file="./classes.jar" todir="libs/" /&gt;
          &lt;delete file="./classes.jar" /&gt;
      &lt;/target&gt;
  
  &lt;/project&gt;
  </code></pre>