ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sushim Saini <sushimsa...@gmail.com>
Subject Re: Help with war task
Date Thu, 04 Jun 2009 12:58:37 GMT
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.Seram@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-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>


-- 
Sushim Saini
09920547761

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message