|
View:
New views
11 Messages
—
Rating Filter:
Alert me
|
|
|
Clean fails with unable to delete fileHi
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 |
|
|
Re: Clean fails with unable to delete filewindows?
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 <daniel.mutch@...> 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 |
|
|
RE: Clean fails with unable to delete fileWe see this on lots of occasions, normally in the context of running a
web application through tomcat. On about 90% of instances, the problem goes away when we do a second clean/build (i.e. it fails, so we just try again). The other 10% of the time we have to shut down *tomcat* and sometimes netbeans too in order to get it to work. Because it is so 'random', we have never bothered to file a bug report (and partly because I suspect it may have something to do with our disk filer and network infrastructure too). Later, Andy ------------- Yada, yada, yada... The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336 Disclaimer: This e-mail and any attachments are confidential and intended solely for the use of the recipient(s) to whom they are addressed. If you have received it in error, please destroy all copies and inform the sender. > -----Original Message----- > From: Daniel Mutch [mailto:daniel.mutch@...] > Sent: 15 May 2008 09:56 > To: user@... > Subject: [mevenide-user] Clean fails with unable to delete file > > > 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-t > 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 |
|
|
RE: Clean fails with unable to delete fileSee my other email too. We see this under linux.
Later, Andy ------------- Yada, yada, yada... The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336 Disclaimer: This e-mail and any attachments are confidential and intended solely for the use of the recipient(s) to whom they are addressed. If you have received it in error, please destroy all copies and inform the sender. > -----Original Message----- > From: Milos Kleint [mailto:mkleint@...] > Sent: 15 May 2008 09:58 > To: user@... > Subject: Re: [mevenide-user] Clean fails with unable to delete file > > 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 <daniel.mutch@...> 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-tp1724835 > > 4p17248354.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 > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: Clean fails with unable to delete fileDnia 15-05-2008 o 10:55:59 Daniel Mutch <daniel.mutch@...>
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 |
|
|
Re: Clean fails with unable to delete fileSure I'll looking in to it
On Thu, May 15, 2008 at 2:28 PM, Milos Kleint <mkleint@...> wrote: windows? -- Anuradha G |
|
|
Re: Clean fails with unable to delete filethis netbeans issue seems to be related, am I right?
http://www.netbeans.org/issues/show_bug.cgi?id=112529 a coworker also pointed out this blog entry on the issue: http://blogs.sun.com/quinn/entry/tool_for_diagnosing_failed_glassfish it also includes help on diagnosing the problem. regards Milos On 5/15/08, Anuradha G <theanuradha@...> wrote: > Sure I'll looking in to it > > On Thu, May 15, 2008 at 2:28 PM, Milos Kleint <mkleint@...> 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 > <daniel.mutch@...> 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 > > > > > > > > > > -- > Anuradha G --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: Clean fails with unable to delete fileHi 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 build-output.txt
|
|
|
Re: Clean fails with unable to delete fileDaniel can you please file a bug at [1] Jira that will help us to track this issue.
Thanks you, Mevenide team On Fri, May 16, 2008 at 6:54 AM, Daniel Mutch <daniel.mutch@...> wrote:
-- Anuradha G |
|
|
Re: Clean fails with unable to delete fileDone. http://jira.codehaus.org/browse/MEVENIDE-636
|
|
|
Re: Clean fails with unable to delete fileThanks
On Fri, May 16, 2008 at 10:43 AM, Daniel Mutch <daniel.mutch@...> wrote:
-- Anuradha G |
| Free embeddable forum powered by Nabble | Forum Help |