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:[EMAIL PROTECTED]
>Gesendet: Donnerstag, 22. März 2007 10:23
>An: [email protected]
>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: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]