On 2010-09-09, Aaron Mackley wrote:

> I have a single file that needs to be copied into a random folder
> name.  I know the folder path except for the last folder, which will
> be called xxxxxxxx.default, where xxxxxxxx is a random set of
> characters.
> 
> This may be easier than I am trying to make it, but I am trying to use
> a DirSet within a Copy, like this:

> <dirset dir="${firefox.dir}">
>   <include name="**/*.default"/>
> </dirset>

This would match any directory that end in .default - but not the files
contained within them.

<fileset dir="${firefox.dir}">
   <include name="**/*.default/**"/>
</fileset>

is probably what you want.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to