ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: copy files
Date Thu, 22 Mar 2007 09:30:25 GMT
Use <include> instead of <includesfile> when using nested elements.

If you dont want to enumerate all jars you could use wildcards
	<fileset dir="${jardir}" includes="**/*.jar"/>


Jan



>-----Ursprüngliche Nachricht-----
>Von: Denis Bessmertnyj [mailto:dbes@isd.dp.ua] 
>Gesendet: Donnerstag, 22. März 2007 10:23
>An: user@ant.apache.org
>Betreff: 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