ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sibon Barman" <>
Subject delete and mkdir problem
Date Mon, 22 Jan 2001 15:34:26 GMT
Hi all,
I have the following target in my build script:
<target name="real-clean">
        <delete dir="${classes.dir}" />
        <delete dir="${lib.dir}" />
        <delete dir="${javadocs.dir}" />
        <mkdir dir="${classes.dir}" />
        <mkdir dir="${lib.dir}" />
        <mkdir dir="${javadocs.dir}" />

But once in a while it is not successful in creating all 3 directories.
Sometimes it works --- sometimes it doesn't. Can somebody help me with this
unpredictable problem? This error also occurs when I am in the lib.dir or
classes.dir from Windows Explorer and the ant script  tries to delete them
and create them  ---- could that be the problem? 

My second question is how can I delete everything underneath classes.dir
with removing the classes.dir?

Sibon Barman
SS8 Networks, Inc.
Suite 500
495 March Road, Kanata, 
Ontario K2K 3G1

*: (613)592-2100 ext:3281

View raw message