I had the same problem:

In netbeans, go to

Tools -- > Options --> Miscellaneous --> Ant

In the property window, type the following in:

libs.CopyLibs.classpath=*[netbeans folder path to]*
/org-netbeans-modules-java-j2seproject-copylibstask.jar

You have to dig into the netbeans bin or library folder?, and look to where
the copylibstask file is, and replace the path to, with bolded. I'm sorry,
but i'm at work, or would answer your question with the exact location.

My problem now is, that all of my sample folders for the class(i have vista)
are showing up as read only in netbeans, to i cannot edit them.

Hope this helps...

On Mon, Oct 19, 2009 at 11:19 AM, Susan Smith <sn_...@hotmail.com> wrote:

>  Hello,
>
> I'm trying to build and run the hello2 project from LAB-4005.
> I download the zip files from javapassion website and got the following
> error message below.
> Can anyone give me pointer how to fix this problem?
>
> Thanks in advance for all the help
>
> ;------------------------------------------------;
> C:\projects\NetBeansProjects\4005_servletadv\servletadv\samples\hello2\nbproject\build-impl.xml:366:
> 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
> <netbeans_installation>/java<version>/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
> BUILD FAILED (total time: 0 seconds).
> ;------------------------------------------------;
> ------------------------------
> Hotmail: Trusted email with powerful SPAM protection. Sign up 
> now.<http://clk.atdmt.com/GBL/go/177141665/direct/01/>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to