FYI I ditched Windows out of the equation and switched over to Linux. With a proper file-system, the locking issues are gone.
Holger * [email protected] [31.10.2014 12:00]: > Date: Fri, 31 Oct 2014 07:56:05 -0400 > From: Fred Bricon <[email protected]> > To: M2E-WTP Developers mailing list <[email protected]> > Subject: Re: [m2e-wtp-dev] Locked file handles in windows > Message-ID: > <cag2ouxq8ylcua7towxvu7jp_vcjocckeoh0hccg0+2qxxn6...@mail.gmail.com> > 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 <[email protected]> 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
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ m2e-wtp-dev mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/m2e-wtp-dev
