I\'m using Eclipse Indigo (3.7) to build an application using ant and a build.xml file.
I am getting the following exception:
This following worked for me:
1) Downloaded and added the org-netbeans-modules-java-j2seproject-copylibstask.jar to my Ant/lib directory: C:/apache-ant-1.9.4/lib/
2) (in command line) Navigated to the folder containing my "build.xml" file:
cd C:\eclipse_workspace\myproject\abcfolder
(my build.xml location: C:\eclipse_workspace\myproject\abcfolder\build.xml)
3) Ran the following commmand:
ant -Dlibs.CopyLibs.classpath=C:/apache-ant-1.9.4/lib/org-netbeans-modules-java-j2seproject-copylibstask.jar
I got a successful build.