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.
I think you might want to use the "flatten" attribute.
    cf. http://ant.apache.org/manual/CoreTasks/copy.html

Good luck!
-- Shinobu Kawai

--
Shinobu Kawai <[EMAIL PROTECTED], [EMAIL PROTECTED]>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to