ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey E Care <>
Subject Re: nested mkdir tasks
Date Thu, 20 Dec 2007 01:00:48 GMT
I'm having trouble envisioning a use case were nested declarations are 
more valuable or intuitive than the existing methodology that others have 
already pointed out. Can you enlighten us as to situations where you found 
a nested approach to be more desirable than the standard methodology, 
besides just saying that XML is hierarchical & so are directories?


Jeffrey E. (Jeff) Care 
IBM WebSphere Application Server 
Systems Management Tools Development 

Tony Rogers <> 
12/19/2007 04:02 PM
Please respond to
"Ant Developers List" <>

"(dev) Apache Ant Mailing List" <>

nested mkdir tasks

Just out of curiosity, has there been any work done towards making the
<mkdir> task nest-able? 

For example:

<mkdir dir="dir">

     <mkdir dir="subdir" />

    <mkdir dir="another_subdir">
        <mkdir dir="a_sub-subdir" />


Which would create:

--- + dir
    | - subdir
    | + another_subdir
    | | - a_sub-subdir

If so, where can I find it?

If not, are there any particular reasons not to?  (It seems so natural a
thing to do in XML, but it doesn't work…)

-- Tony

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message