Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-3986

STS on Windows locks xml/xsd/xsl files in target directory.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.6.3.RELEASE
    • Fix Version/s: 3.7.0.RELEASE
    • Component/s: EDITING, MAVEN, UI
    • Labels:
      None
    • Environment:

      Description

      During editation of XML ( pom.xml ) the STS tryes remove all files in target directory. Sometimes its not possble because in that directory are locked files. List of locked files shows, that STS (javaw.exe) holds locks on that files

      $ handle "D:\\git"
      
      Handle v4.0
      Copyright (C) 1997-2014 Mark Russinovich
      Sysinternals - www.sysinternals.com
      
      bash.exe           pid: 5468   type: File           2A0: D:\git\service-proxy-parent
      javaw.exe          pid: 8848   type: File           920: D:\git\service-proxy-parent\.git\objects\pack\pack-570db081005576a450b830e2ab3fe9414798606c.pack
      javaw.exe          pid: 8848   type: File          13E4: D:\git\service-proxy-parent\war\target\classes\com\predic8\membrane\servlet\config\spring\router-conf.xsd
      javaw.exe          pid: 8848   type: File          14B4: D:\git\service-proxy-parent\war\target\m2e-wtp\web-resources\META-INF\maven\org.membrane-soa.service-proxy\service-proxy-war\pom.xml
      javaw.exe          pid: 8848   type: File          1614: D:\git\service-proxy-parent\war\target\classes\com\predic8\membrane\servlet\test\config\spring\router-conf.xsd
      javaw.exe          pid: 8848   type: File          17DC: D:\git\service-proxy-parent\core\target\test-classes\namesservice.xsd
      javaw.exe          pid: 8848   type: File          189C: D:\git\service-proxy-parent\core\target\test-classes\acl\acl.xml
      javaw.exe          pid: 8848   type: File          18A0: D:\git\service-proxy-parent\core\target\classes\com\predic8\membrane\core\interceptor\testservice\the.wsdl
      javaw.exe          pid: 8848   type: File          18AC: D:\git\service-proxy-parent\core\target\classes\com\predic8\membrane\core\interceptor\rest\xml2json.xsl
      bash.exe           pid: 8460   type: File           2A0: D:\git\service-proxy-parent
      Handle.exe         pid: 3652   type: File            20: D:\git\service-proxy-parent
      Handle.exe         pid: 3652   type: File           2A0: D:\git\service-proxy-parent
      handle64.exe       pid: 10120  type: File            18: D:\git\service-proxy-parent
      

      The only solution is to switch STS off, remove files manually, and start STS.

        Attachments

          Activity

            People

            Assignee:
            mlippert Martin Lippert
            Reporter:
            vlk32 Vladimir Kralik
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: