ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Riffe, Melvin" <>
Subject RE: How to include the Jar file from library
Date Mon, 19 Aug 2002 19:43:09 GMT

are you wanting the outside jar files in the jar file you create?  if so,
take a look at <zipfileset>.  Here's a snippet of code i use to include one
jar file into my distribution jar file:

<jar jarfile="${dist.jar}/${}">
  <zipfileset dir="${dist.jar}" includes="${jar.html}" prefix="lib" />



-----Original Message-----
From: Pan John-CXP001 []
Sent: Monday, August 19, 2002 3:34 PM
To: 'Ant Users List'
Subject: How to include the Jar file from library

Hey, Everyone:

I am newbie to this mail list. I am not sure this question have been asked
before. Please ignore if you want.

I am moving my building procedure from JBuilder to Ant (1.4.1). I include
some outside libraries (in the Jar file format) to my code base. The
compiling and linking look fine except the final image doesn't include any
class from the imported libraries. I tried to put the library jar files
under my source code directory, Ant picked up these library file, but  in
the jar file format ( I verify it with jar -tf xxx.jar), not as individual

Does any one know how to include the library jar classes into the final
image by using Ant Jar. 



To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>
The information transmitted herewith is sensitive information intended only
for use by the individual or entity to which it is addressed. If the reader
of this message is not the intended recipient, you are hereby notified that
any review, retransmission, dissemination, distribution, copying or other
use of, or taking of any action in reliance upon this information is
strictly prohibited. If you have received this communication in error,
please contact the sender and delete the material from your computer.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message