File copying problem ???

2004-08-12 Thread Eric Chow
Hello, How can I copying some files with to a specific folder ??? Project structure: --- ${basedir}/aaa/target/aaa-x.jar ${basedir}/bbb/target/bbb-x.jar ${basedir}/ccc/target/ccc-x.jar ${basedir}/xxx/target/xxx.jar I want to copy all the *-x.jar into the

Re: File copying problem ???

2004-08-12 Thread Shinobu Kawai
Hi Eric, ant:copy todir=${xxx.dir}/temp overwrite=true quiet=true failonerror=false fileset dir=.. include name=**/target/*-games-*.jar/ /fileset /ant:copy but it will copy those *-x.jar with some extra folders, how can I only copy the exact files without folders.