You should be able to use the include nested element to do this like:
<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>
On Wed, 2004-11-17 at 19:09 +0100, Franz-Josef Herpers wrote:
> 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]
>
>
>
--
David A. Bartmess
Software Configuration Manager / Sr. Software Developer
eDingo Enterprises
http://edingo.net
_________________________________________________________________
jSyncManager Development Team (http://www.jsyncmanager.org)
jSyncManager Email List
(https://lists.sourceforge.net/lists/listinfo/jsyncmanager-devel)
But one should not forget that money can buy a bed but not sleep,
finery but not beauty, a house but not a home,
medicine but not health, luxuries but not culture,
sex but not love, and amusements but not happiness.
signature.asc
Description: This is a digitally signed message part
