Uploaded image for project: 'PUBLIC - Liferay IDE'
  1. PUBLIC - Liferay IDE
  2. IDE-2737

Error occurs when running blade update on windows

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.1 M1
    • Component/s: blade-cli
    • Labels:
      None
    • Fix Priority:
      5

      Description

      Running "blade update" on windows 7 / 10, getting error as follows. (Error says the process can't access to the file. Other process is in use. )

      C:\Windows\system32>blade update
      Error
        0. [FileOutputStream.open0] C:\tools\JPM4J\bin\blade.exe (プロセスはファイルに
      アクセスできません。別のプロセスが使用中です。)
      Error
        0. blade exited with code: 1
      

      Steps to reproduce (Either Windows 7 / Windows 10)

      1. Download gradle and extract it into a folder, c:/tools/gradle
      2. Enable the path (add C:\tools\gradle\bin into Path at the windows environment value)
      3. Download jpm as follows. I couldn't access the official page, https://www.jpm4j.org/#!/md/windows that showed at https://github.com/liferay/liferay-blade-cli, so download it from github instead as follows.
        https://github.com/jpm4j/jpm4j.installers/blob/master/dist/jpm-setup.exe
      4. Run
        jpm-setup.exe
        
      5. Run
        jpm install com.liferay.blade.cli
        

        Then blade.ex is installed under C:\tools\gradle\bin

      6. Run
        blade update
        

      Current behavior
      Blade doesn't run with an error above.

      Expected behavior
      blade update should run and blade should be updated properly

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 2 weeks, 4 days ago

                Packages

                Version Package
                3.1 M1