Uploaded image for project: 'PUBLIC - Liferay BLADE'
  1. PUBLIC - Liferay BLADE
  2. BLADE-609

The com.liferay.project.templates.js.theme-x.x.x.jar file can not be deleted when extentions closing

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0.5
    • Fix Version/s: 4.0.6
    • Component/s: blade-cli
    • Labels:
      None

      Description

      try to create js-theme using "blade create -t js-theme testJSTheme", there is a unexpected error occured.

      Unexpected error occured.
      java.nio.file.FileSystemException: C:\Users\liferay\AppData\Local\Temp\templates7052798824930036408\com.liferay.project.templates.js.theme-1.0.5.jar: The process cannot access the file because it is being used by another process.

      at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
      at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
      at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
      at sun.nio.fs.WindowsFileSystemProvider.implDelete(Unknown Source)
      at sun.nio.fs.AbstractFileSystemProvider.delete(Unknown Source)
      at java.nio.file.Files.delete(Unknown Source)
      at com.liferay.blade.cli.util.FileUtil$1.visitFile(FileUtil.java:99)
      at com.liferay.blade.cli.util.FileUtil$1.visitFile(FileUtil.java:86)
      at java.nio.file.Files.walkFileTree(Unknown Source)
      at java.nio.file.Files.walkFileTree(Unknown Source)
      at com.liferay.blade.cli.util.FileUtil.deleteDir(FileUtil.java:84)
      at com.liferay.blade.cli.Extensions.close(Extensions.java:208)
      at com.liferay.blade.cli.BladeCLI.run(BladeCLI.java:646)
      at com.liferay.blade.cli.BladeCLI.main(BladeCLI.java:133)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              seiphon.wang Seiphon Wang
              Reporter:
              seiphon.wang Seiphon Wang
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  4.0.6