OK. This works, but if this is it, something seems broke to me.

Thanks William.

MRA.

-----Original Message-----
From: Lopez, William [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2003 9:41 AM
To: Ant Users List
Subject: RE: Ant newbie - simple question


I'm no Ant guru and you will probably get a better answer to your question
but I believe it has to do with the way your delete task is set up...you
specified the top-level directory...I think the below task would work...
<target name="clean">
                <delete includeEmptyDirs="true">
              <fileset dir="${dir_classes}">
                <include name="**/*.*/>
              </fileset>
            </delete>
        </target>

-----Original Message-----
From: Avery Marvin R [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 11, 2003 9:30 AM
To: 'Ant Users List'
Subject: Ant newbie - simple question


First my complaint: this is trivial using make!

Now the question: Why does the following seemingly
simple and straight-forward ant xml
script _not_ remove the subdirs under the
classes dir (Windows NT OS)? Thanks in advance.

        <target name="clean">
                <delete dir="${dir_classes}/*"/>
        </target>

NOTE: ** after the / doesn't work either!

Marvin Avery

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

Reply via email to