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

Liferay AUI Uprade Tool doesn't work when run on unix style OS (linux/mac).

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Labels:
      None

      Description

      • Unzip a new Liferay IDE bundle on linux
      • Setup liferay sdk and runtime both 6.2 version
      • Open liferay IDE and import an events-display-portlet
      • Right click on that project and run liferay AUI upgrade tool
      • This process doesn't work, and will see stack trace below in the error log.

      org.eclipse.core.runtime.CoreException: Exception occurred executing command line.
      at org.eclipse.debug.core.DebugPlugin.exec(DebugPlugin.java:865)
      at org.eclipse.core.externaltools.internal.launchConfigurations.ProgramLaunchDelegate.launch(ProgramLaunchDelegate.java:109)
      at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:858)
      at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:707)
      at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:700)
      at com.liferay.ide.core.util.LaunchHelper.launch(LaunchHelper.java:198)
      at com.liferay.ide.alloy.core.LautRunner.exec(LautRunner.java:148)
      at com.liferay.ide.alloy.ui.action.UpgradeToolAction$1.run(UpgradeToolAction.java:87)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
      Caused by: java.io.IOException: Cannot run program "/home/taotao/Desktop/eclipse/plugins/com.liferay.laut.linux.gtk.x86_64_1.0.2.201312190420-ga1/laut/run.sh" (in directory "/home/taotao/Desktop/eclipse/plugins/com.liferay.laut.linux.gtk.x86_64_1.0.2.201312190420-ga1/laut"): java.io.IOException: error=13, Permission denied
      at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
      at java.lang.Runtime.exec(Runtime.java:593)
      at org.eclipse.debug.core.DebugPlugin.exec(DebugPlugin.java:861)
      ... 8 more
      Caused by: java.io.IOException: java.io.IOException: error=13, Permission denied
      at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
      at java.lang.ProcessImpl.start(ProcessImpl.java:65)
      at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
      ... 10 more

        Attachments

          Activity

            People

            Assignee:
            gregory.amerson Gregory Amerson
            Reporter:
            tao.tao Tao Tao (Inactive)
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              8 years, 3 weeks ago

                Packages

                Version Package
                2.0.0