title: Java Netbeans, libraries not being packaged into jar file on build
body: <p>I am using netbeans and have this in my build.xml file (under Project > Build.xml)</p>
  
  <pre><code>&lt;target name="package-for-store" depends="jar"&gt;
  &lt;property name="store.jar.name" value="MyProjectName"/&gt;
  &lt;property name="store.dir" value="store"/&gt;
  &lt;property name="store.jar" value="${store.dir}/${store.jar.name}.jar"/&gt;
  &lt;echo message="Packaging ${application.title} into a single JAR at ${store.jar}"/&gt;
  &lt;delete dir="${store.dir}"/&gt;
  &lt;mkdir dir="${store.dir}"/&gt;
  
  &lt;jar destfile="${store.dir}/temp_final.jar" filesetmanifest="skip"&gt;
      &lt;zipgroupfileset dir="dist" includes="*.jar"/&gt;
      &lt;zipgroupfileset dir="dist/lib" includes="*.jar"/&gt;
      &lt;manifest&gt;
          &lt;attribute name="Main-Class" value="${main.class}"/&gt;
      &lt;/manifest&gt;
  &lt;/jar&gt;
  
  &lt;zip destfile="${store.jar}"&gt;
      &lt;zipfileset src="${store.dir}/temp_final.jar"
      excludes="META-INF/*.SF, META-INF/*.DSA, META-INF/*.RSA"/&gt;
  &lt;/zip&gt;
  
  &lt;delete file="${store.dir}/temp_final.jar"/&gt;
  </code></pre>
  
  <p>Supposedly what this should do is package the 3 libraries i have into my jar file so that when the jar is run it has its dependencies with it.</p>
  
  <p>My folder system looks like this:</p>
  
  <p>Project / dist / lib /</p>
  
  <ul>
  <li>commons-lang3-3-7.jar</li>
  <li>commons-text-1.1.jar</li>
  <li>jsoup-1.10.3.jar</li>
  </ul>
  
  <p>But when i click "Clean and Build" in netbeans it does not package the libraries into the jar, instead it seems to be ignoring the code that i have put in the build.xml file.</p>
  
  <p>Is there some button that i need to click in order to get it to use my build configuration?</p>