ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Franz-Josef Herpers <fjhP...@netscape.net>
Subject copy
Date Wed, 17 Nov 2004 18:09:04 GMT
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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message