Hi u can use following to do that
<copy todir="destination_dir"> <fileset dir="source_dir_1"> <include name="**/*.jar"> </fileset> <fileset dir="source_dir_2"> <include name="**/*.jar"> </fileset> </copy> i think will work for u -- Sushim On Thu, Jun 4, 2009 at 6:05 PM, Yellen Seram <yellen.se...@headstrong.com>wrote: > Hi all, > > I'm trying to create a war file using the ant war task. > The problem is that I am not aware as to how I can link multiple folder > locations to the lib dir inside war. > Like for example, I have some jars in one folder and some other jars in > some another folder and I want to put the jars from these two locations > inside the lib dir of WEB-INF when the war is created. > > I'd really appreciate some help :) > > Thanks and regards, > Yellen Seram > > ***The information transmitted is intended only for the person or entity to > which it is addressed and may contain confidential and/or privileged > material. Any review,retransmission,dissemination or other use of, or taking > of any action in reliance upon, this information by persons or entities > other than the intended recipient is prohibited. If you received this in > error, please contact the sender and delete the material from any > computer.*** > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > For additional commands, e-mail: user-h...@ant.apache.org > > -- Sushim Saini 09920547761