Re: [mevenide-user] Clean fails with unable to delete file

"Marek Nowicki" <[email protected]> Thu, 15 May 2008 11:01:23 +0200
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.user
Message-ID <op.ua6t0lem28y608@buster>
Dnia 15-05-2008 o 10:55:59 Daniel Mutch <[email protected]>  
napisaƂ:
> I'm getting a lot of clean failures. They always fail because they are
> unable to delete files under the target directory. It seems either  
> Netbeans
> or Maven is locking these files.
>
> It's not due to my applications simply because it happens even if I build
> then clean, i.e. don't run anything in between.
>
> The only way to fix it is to restart Netbeans.
>
> Have you seen this?

I have seen this when I apache-tomcat is launched after building project.
Do you use Windows? You can see what process is locking target directory -  
eg. using ProcessExplorer.
In linux/unix systems it's possible too...

regards,
Marek

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email