Discussion:
[m2e-wtp-dev] Locked file handles in windows
Holger Klene
2014-11-11 14:46:29 UTC
Permalink
FYI

I ditched Windows out of the equation and switched over to Linux. With a
proper file-system, the locking issues are gone.

Holger
Date: Fri, 31 Oct 2014 07:56:05 -0400
Subject: Re: [m2e-wtp-dev] Locked file handles in windows
Content-Type: text/plain; charset="utf-8"
Can you try to reproduce the problem on non-maven projects? See if it
really is an m2e-wtp issue or a more general eclipse/wtp problem?
Hello!
In our project I cannot run maven clean while Eclipse is running. The
<myproject.ear>\target\m2e-wtp\ear-resources\META-INF\application.xml
<myproject.ear>\target\m2e-wtp\web-resources\META-INF\maven\<myproject>\<m
yproject.ear>\pom.xml>
Even if I clear those files manually while Eclipse is down, they are
immediately recreated & locked on startup.
How can I either move those files outside the target-directory or prevent
m2e-wtp from locking and hogging them forever?
Besides m2e-wtp there are more files locked, that keep maven from cleaning
<myproject.api.feature>\target\feature.xml
<myproject.client.site>\target\site\site.xml
<myproject>\target\<myproject>\index.html
<myproject>\target\<myproject>\WEB-INF\web.xml
<myproject>\target\generated-sources\wsdl\TagService.wsdl
<myproject.ear>\target\application.xml
<myproject.test>\target\surefire-reports\TEST-<myclass>.xml
I'd love to hear any pointers how to solve the other file locking issues
...
Thanks
Holger
--
|_|/ MfG
| |\ Holger Klene

PGP Key ID: 0x22FFE57E
Loading...