ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "H, Sugumaran (CORP, GEITC)" <Sugumara...@geind.ge.com>
Subject RE: Adding a directory of jars to the classpath
Date Thu, 05 Sep 2002 09:21:02 GMT
use fileset task, using this u can specify wild cards

-----Original Message-----
From: Kervin, Stephen [mailto:Stephen_Kervin@jdedwards.com]
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:tomcat@mobile.mp]
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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


"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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message