On Sat, 12 Oct 2002, Dominique Devienne <[EMAIL PROTECTED]> wrote:

> As far as your question... A combination of Ant-contrib's <foreach>,
> possibly a <dirset> followed by <pathconvert>, with <mkdir> inside
> tge loop might be able to do what you want. Just might... --DD

See why <foreach> is not part of core-Ant?  People would overuse it
like hell. ;-)

<apply executable="mkdir" type="dir">
  <fileset dir="src"/>
</apply>

is probably going to work in a cross-platform way (not sure whether
z/OS, OS/400 or MacOS < 10 have a mkdir command, but Windows, Unix and
VMS should do).

And even though it spawns native processes, it is probably going to be
faster than <foreach>.

Stefan

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

Reply via email to