Hi *,

Is it possible with ant to copy or move files/dir from a directory which name I don't know exactly. Something like:

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

instead of

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

I'm not able to find a solution.

As you probably will see, I want to avoid the reference to a version number which can change. But I don't want to change the build file every time the version number changes.

Any hints would be appreciated.

Regards
Franz



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



Reply via email to