[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [m2e-wtp-dev] Locked file handles in windows
|
FYI
I ditched Windows out of the equation and switched over to Linux. With a
proper file-system, the locking issues are gone.
Holger
* m2e-wtp-dev-request@xxxxxxxxxxx [31.10.2014 12:00]:
> Date: Fri, 31 Oct 2014 07:56:05 -0400
> From: Fred Bricon <fbricon@xxxxxxxxx>
> To: M2E-WTP Developers mailing list <m2e-wtp-dev@xxxxxxxxxxx>
> Subject: Re: [m2e-wtp-dev] Locked file handles in windows
> Message-ID:
> <CAG2ouxQ8YLCUA7ToWxVu7jP_VCjoCcKeOH0hCCg0+2qxxn6Law@xxxxxxxxxxxxxx>
> 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?
>
> On Fri, Oct 31, 2014 at 7:05 AM, Holger Klene <h.klene@xxxxxx> wrote:
> > Hello!
> > In our project I cannot run maven clean while Eclipse is running. The
> > cause is, that the Eclipse-java process holds a handle on:
> >
> > <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
> > the target subdirectories:
> > <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
Attachment:
signature.asc
Description: This is a digitally signed message part.