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:[EMAIL PROTECTED] > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]