> -----Original Message-----
> From: dan tran [mailto:[EMAIL PROTECTED]
> Sent: mardi 24 janvier 2006 15:48
> To: Maven Users List
> Subject: Re: mvn clean is slow
> 
> does Ant encounter the same issue?

That's what I was going to suggest. We can simply do the following (this is
meant to be pseudo code):

Task deleteTask = new DeleteTask();
deleteTask.set*(...);
deleteTask.execute();

The nice benefit is that if Ant improves we improve and we benefit from all
their knowledge accumulated over time. I know that our current code was a
rip from the Ant's Delete task but I don't think we've copied it completely
and they may have improved it since then.

Yes, I know, I've already said all this several times in the past... Just
trying one more time as this issue is calling for it ;-)

Dan, maybe you can try running Ant's delete task to see if it worked faster
for you?

Thanks
-Vincent

> 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]

Reply via email to