ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Salter <>
Subject Re: Under a parent directory delete only 4 out of 6 child directories [non-empty]
Date Mon, 03 Nov 2008 13:42:10 GMT
Rohit P wrote:
> Hi,
> I have a directory "Parent" containing 6 "child" directories with files.I
> have a task of deleting only 4 "child" directories with their files.
The second example in the manual does (I think) give you the answer you

So for your child deletions...

<project name="Check Deletion task" basedir="." default="main">

    <target name="main">
        <delete dir="C:\Rootdir\Maindir\Child 1"/>
        <delete dir="C:\Rootdir\Maindir\Child 2"/>
        <delete dir="C:\Rootdir\Maindir\Child5"/>
        <delete dir="C:\Rootdir\Maindir\Child6"/>

Is that what you wanted?


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

View raw message