I\'m using Eclipse Indigo (3.7) to build an application using ant and a build.xml file.
I am getting the following exception:
Please find below for the Solution: Below is an error that I was facing while building the project:
"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 /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"
Here is a solution:
--> Open Netbeans
--> Select Project
--> Right Click
--> Property
--> Libraries
Now change the path of the library where your javaee-endorsed-api-7.0 is stored. In file browser
--> Select your project
--> Select lib folder
--> Click Open Button
You will ables to see it will be like: lib\nblibraries.properties
Now your problem is resolved. Do not need to download the file beacuse it comes with Netbeans Package. You just have to find the file.
Please check image how it looks (Project-->Libraries & Path)