yes, but del doesn't exist on all platforms.
del for windows, rm for linux/unix, and i don't know for others
Emmanuel
Wim Deblauwe a écrit :
And this is in Maven 1 also I guess? Because there it is also very slow.
Call me crazy but wouldn't an System.exec("del *.*") be faster?
regards,
Wim
2006/1/24, Emmanuel Venisse <[EMAIL PROTECTED]>:
yes, it's the same code ;-)
Emmanuel
dan tran a écrit :
does Ant encounter the same issue?
-D
On 1/24/06, Torsten Curdt <[EMAIL PROTECTED]> wrote:
On 24.01.2006, at 20:35, Emmanuel Venisse wrote:
Yes, it's intended due to Windows bug encountered in both Sun and
IBM JDKs.
We need to call System.gc() if a delete fail, wait few milliseconds
and retry
What about a bulk delete, a gc call and then a bulk test whether the
delete succeeded?
cheers
--
Torsten
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]