I have the same problem. I have checked that under:
Tools->Options->Miscellaneous
Ant Home is c:/Program Files/NetBeans 6.71./java2/ant and it is using Ant 
version 1.7.1.
 
I have also checked that:
c:/Program Files/NetBeans 6.71./java2/ant/extra contains
org-netbeans-modules-java-j2seproject-copylibstask.jar file
 
Still the same error message.
 

--- On Mon, 9/28/09, "Chavarría Teruel, Rubén" <rchavar...@indra.es> wrote:


From: "Chavarría Teruel, Rubén" <rchavar...@indra.es>
Subject: [java ee programming] Re: Lab4005 - problem with hello2
To: "Java EE (J2EE) Programming with Passion!" 
<java-ee-j2ee-programming-with-passion@googlegroups.com>
Date: Monday, September 28, 2009, 9:54 AM


Configuration seems to be ok.
Have you checked that you has the file 
org-netbeans-modules-java-j2seproject-copylibstask.jar ?
Check it in this path:
    C:\Program Files\Netbeans 6.5.1\java2\ant\extra

Which bundle did you download? Make sure you have downloaded a bundle that 
includes app server GlashFish v2.1 (I suppose you did it). See attached file. 
You have to choose bundle "java" or "all".

Good luck,
    Rubén

-----Mensaje original-----
De: Rafał Laczek [mailto:rafal_lac...@wp.pl] 
Enviado el: lunes, 28 de septiembre de 2009 14:03
Para: Chavarría Teruel, Rubén
CC: Java EE (J2EE) Programming with Passion!
Asunto: Odp: [java ee programming] Re: Lab4005 - problem with hello2

I have checked configuration and it seems the configuration is correct.
In enclose I send you print-screen of ANT configuration and ANT folder.


Best regards,
Rafał Laczek


Dnia 28-09-2009 o godz. 10:14 "Chavarría Teruel, Rubén" napisał(a):
> It might be a problem with Ant. Do you have Ant correctly configured?
> I attach a screenshot of my Ant configuration. I am using Netbeans 6.1
> and I didn't have any problem running hello2 from Lab4005 exercise.
> You will find Ant configuration in Netbeans menu
> Tools->Option->Miscellaneous.
> 
> The path for Ant installation must point to:
>     C:\Program files\Netbeans <version>\java2\ant
> 
> I hope this will help you Rafal
>     Rubén
> 
> -----Mensaje original-----
> De: java-ee-j2ee-programming-with-passion@googlegroups.com
> [mailto:java-ee-j2ee-programming-with-pass...@googlegroups.com] En
> nombre de Rafal Laczek
> Enviado el: sábado, 26 de septiembre de 2009 12:16
> Para: Java EE (J2EE) Programming with Passion!
> Asunto: [java ee programming] Lab4005 - problem with hello2
> 
> Hello Colleagues,
> 
> I have a problem to run hello2
> When I select hello2 from sample directory I receive communicate about
> access rejection and when I try to run the project in output there is
> following communicate:
>  C:\Documents and Settings\rlaczek\Moje
> dokumenty\NetBeansProjects\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)
> 
> 
> In enclose I send the print-screen with both communicates and  also
> print-screen with libraries.
> 
> I use NB 6.5.1
> 
> Please help.
> 
> Regards,
> Rafał Laczek
> 
> ----------------------------------------------------
> Rok szkolny 2009/2010.
> Zobacz co cię czeka:
> http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2Frokszkolny09-10.html&sid=869
> 
> 
> 
> 
----------------------------------------------------
Dołącz się do Manify!
Wyjdźmy na ulice, w WALCE O TAŃSZE PIWO!
http://klik.wp.pl/?adr=www.zatanisci.pl&sid=856





      
--~--~---------~--~----~------------~-------~--~----~
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