ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey E Care <ca...@us.ibm.com>
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 
carej@us.ibm.com 
IBM WebSphere Application Server 
Systems Management Tools Development 







Tony Rogers <azgul@umd.edu> 
12/19/2007 04:02 PM
Please respond to
"Ant Developers List" <dev@ant.apache.org>


To
"(dev) Apache Ant Mailing List" <dev@ant.apache.org>
cc

Subject
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" />
    </mkdir>

</mkdir>


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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org



Mime
View raw message