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

Daniel Mutch <[email protected]> Thu, 15 May 2008 18:24:22 -0700 (PDT)
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.user
Message-ID <[email protected]>
Hi Milos

Yes this is windows. Also this is a jar project not a war. No web server
involved. I think the issue may be related in some way to plugins and
extensions.

The problem first started as an intermittent issue. We have the maven pmd
and checkstyle plugins in our build process. Occaisionaly the clean would
fail to delete the output files they generate. Even if I hadn't looked at
them.

Recently however we changed the way one of our sections in the build is
used. We now build it and then bring it into the build as an extension. It
seems it is the jar associated with this project that it is unable to
delete. This is now failing everytime.

I've attached the failure stack trace.

thanks
Dan
http://www.nabble.com/file/p17265917/build-output.txt build-output.txt 


Milos Kleint wrote:
> 
> windows?
> 
> I'm using linux and never experienced it..
> 
> Anuradha, can you confirm if it's a windows thing?
> 
> Milos
> 
> On 5/15/08, Daniel Mutch <[email protected]> wrote:
>>
>>  Hi
>>
>>  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?
>>
>>  thanks
>>  Dan
>>  --
>>  View this message in context:
>> http://www.nabble.com/Clean-fails-with-unable-to-delete-file-tp17248354p17248354.html
>>  Sent from the mevenide - user mailing list archive at Nabble.com.
>>
>>
>>  ---------------------------------------------------------------------
>>  To unsubscribe from this list, please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Clean-fails-with-unable-to-delete-file-tp17248354p17265917.html
Sent from the mevenide - user mailing list archive at Nabble.com.


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

    http://xircles.codehaus.org/manage_email