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 ${basedir}/xxx/target/xxx/temp !!!

How can I do that ??

I tried  to add some goal in maven.xml under subproject "xxx" :

<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.

Eric












==========================
If you know what you are doing,
it is not called RESEARCH!
==========================


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

Reply via email to