ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Franz-Josef Herpers <>
Subject Re: AW: copy
Date Thu, 18 Nov 2004 09:41:11 GMT
Hi Jan,

thanks for your answer.

>Use the nested
>  <include name="sw/apache-ant-*/"/>
>without the trailing *, so Ant knows that that is a directory and uses
>the whole tree under that.
I now have

    <move todir="${maven.dist.src.assembly.dir}/sw/ant" overwrite="true">
      <fileset dir="${maven.dist.src.assembly.dir}">
        <include name="sw/apache-ant-*/**"/>

What I really want is to move every descendent directory and file under 
sw/apache-ant-* to sw/ant. What I get with this is:


But I want sw/ant/[everything under sw/apache-ant*].

If I try

<include name="apache-ant-*/**"/>

I get


So if I could do this

  <move todir="${maven.dist.src.assembly.dir}/sw/ant" overwrite="true">
     <fileset dir="${maven.dist.src.assembly.dir}/sw/apache-ant-*/">
       <include name="*/**"/>

it would probably work, but of course it doesn't the way I want it.

Any more suggestions?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message