ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles Scokart" <gscok...@gmail.com>
Subject RE: copy files
Date Thu, 22 Mar 2007 09:30:29 GMT
Look at the example there :
http://ant.apache.org/manual/CoreTasks/copy.html and there :
http://ant.apache.org/manual/CoreTypes/fileset.html

You should find something similar to what you try to do.

Gilles

> -----Original Message-----
> From: Denis Bessmertnyj [mailto:dbes@isd.dp.ua]
> Sent: jeudi 22 mars 2007 10:23
> To: user@ant.apache.org
> Subject: Ant: copy files
> 
> Hi,
> 
> I need to do the following things:
> I want to copy some files, which I know, from one directory to another.
> But I'm a bit confused with fileset syntax. I want to specify all jar
> files
> as nested elements.
> 
> I have tried to do the folllowing, but nothing:
> <copy todir="${web_app_src_dir}/WEB-INF/lib/">
>           <fileset dir="${jardir}">
>               <includesfile name="CLib.jar"/>
>               <includesfile name="corbaLib.jar"/>
>               <includesfile name="BLOrame.jar"/>
>               <includesfile name="IIOPFr.jar"/>
>          </fileset>
> </copy>
> 
> Please, help me.
> 
> thnx.
> 
> ---
> Denis Bessmertnyj,
> GUI SoftWeb
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org


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


Mime
View raw message