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-*/**"/>
     </fileset>
   </move>

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:

sw/ant/sw/apache-ant-*/**

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

If I try

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

I get

sw/ant/apache-ant*/**

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="*/**"/>
    </fileset>
  </move>

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

Any more suggestions?

Thanks
Franz


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



Reply via email to