title: Failed Ant build - The libs.CopyLibs.classpath property is not set up
body: <p>I am trying to create a .war file from a svn source code that appears to be built using NetBeans.</p>
  
  <p>I am aware of the question <a href="https://stackoverflow.com/questions/23532966/the-libs-copylibs-classpath-property-is-not-set-up">The libs.CopyLibs.classpath property is not set up</a></p>
  
  <p>However, I would like to provide further details about my setup and the answers in the other question don't resolve my issue. </p>
  
  <p>I am using Eclipse Luna &amp; Ant version apache-ant-1.9.4. Could someone please enlightenment me whether I actually need the file and if so why?  I downloaded the missing jar and the title of the jar is "org-netbeans-modules-java-j2seproject-copylibstask.jar" which suggests to me that this jar is IDE-specific. Just making an assumption here.</p>
  
  <p>Here's my error message that I receive in a command prompt on running "ant" command.</p>
  
  <blockquote>
    <p>BUILD FAILED
    C:\eclipse_workspace\MyProject\xyz\project\build-impl.xml:476: 
    The libs.CopyLibs.classpath property is not This property must point to org-netbeans-modules-java-j2seproject-copylibstask.jar file which is part
    of NetBeans IDE installation and is usually located at /java/ant/extra folder.
    Either open the project in the IDE and make sure CopyLibs library 
    exists or setup the property manually. For example like this: 
     ant -Dlibs.CopyLibs.classpath=a/path/to/org-netbeans-modules-java-j2seproject-copylibstask.jar</p>
  </blockquote>
  
  <p>I can see that message is coming from my "build-impl.xml" file. But I don't really understand the purpose of the file and how to resolve this issue since I don't even have Netbeans installed on my machine. </p>
  
  <pre><code>        &lt;target name="-init-taskdefs"&gt;
              &lt;fail unless="libs.CopyLibs.classpath"&gt;
                 The libs.CopyLibs.classpath property is not set up.
                 This property must point to  org-netbeans-modules-java-j2seproject-copylibstask.jar 
                 file which is part of NetBeans IDE installation and is usually located at 
                 &amp;lt;netbeans_installation&amp;gt;/java&amp;lt;version&amp;gt;/ant/extra folder.
                 Either open the project in the IDE and make sure CopyLibs library exists or setup the 
                 property manually. For example like this:
                 ant -Dlibs.CopyLibs.classpath=a/path/to/org-netbeans-modules-java-j2seproject-copylibstask.jar
              &lt;/fail&gt;
              &lt;taskdef classpath="${libs.CopyLibs.classpath}" 
              resource="org/netbeans/modules/java/j2seproject/copylibstask/antlib.xml"/&gt;
          &lt;/target&gt;
  </code></pre>