Newbie to ANT needs help
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Saturday, November 20, 2004 02:47 PM

I'm using the indeed of NetBeans 3.6.



The trouble is the following:



For my programm I use classes of an other .jar archive.
When I compile my programm under netbeans itself there are no problems, but when I use ANT to buid it I always get the error that it can't find those classes which are used from the .jar archive.



Can somebody help me with this?






thanks for your help

Re: Newbie to ANT needs help

Posted By:   Anonymous  
Posted On:   Monday, November 22, 2004 04:48 AM

You have to set up the build path for your project. In NetBeans this is done somewhere around "Project Properties" (never have worked with NB, so you have to look :). In Ant this is done in the build script (build.xml). First you have to declare the path to your external (means all outside of Ant) libraries than refer to that declaration:


...




...

...


...
About | Sitemap | Contact