use fileset task, using this u can specify wild cards -----Original Message----- From: Kervin, Stephen [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 2:33 PM To: 'Ant Users List' Subject: RE: Adding a directory of jars to the classpath
Hi We use a "lib" folder. But unfortunatly you still need to specify each jar seperataly on the class path, I have not seen a way to java to recursive a directory looking for jars. I tend to use a classpath from a paths.properties file this way it is easily configurable and updateable. Stephen -----Original Message----- From: Joe Tomcat [mailto:[EMAIL PROTECTED]] Sent: 05 September 2002 10:02 To: Ant Users List Subject: Adding a directory of jars to the classpath I am using ant to manage a big Servlet project. I have quite a few jars which some files need, and others don't. What is the right place to put these jars? Should I create a /libs directory in my project, and then add all these jars to the classpath in the compile target? Is there a standard way to handle this? Thanks! -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> "THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE ADDRESSEE and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are notified that any dissemination, distribution or copy of this communication is strictly Prohibited. If you have received this message by error, please notify us immediately, return the original mail to the sender and delete the message from your system." -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>