NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

netbeans project and Ant

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
karq



Joined: 09 Oct 2010
Posts: 1

PostPosted: Sat Oct 09, 2010 7:15 pm    Post subject: netbeans project and Ant Reply with quote

Hey everyone!

I have a big problem. My projects deadline is soon. My project is basically read, but the only thing that is not working is the ant build file. Yes I can run my javaEE project from netbeans, but if I tried to run it from another pc by running the ant command in the project folder, then it gives this error:

Code:
BUILD FAILED
/home/karq/www/datafiltersvn/nbproject/build-impl.xml:377: 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

Is there a quick fix, so that everyone how downloads my project and runs the ant command can use my project?
I started to learn ant, but he deadline is in 2 days and i'm not that quick learner.
I would be very very grateful if someone could help me Smile

Sorry for my bad english!!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo