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

Error creating Liferay plugin project when pointing to old ws with one sdk open that doesn't have properties

Details

    Description

      • open IDE2.x using workspace1
      • setup sdk and open in eclipse, which don't have build.${username}.properties file. In testing env sdk is "D:\portal\ce\612\sdk612\liferay-plugins-sdk-6.1.2"
      • setup server
      • file > exit
      • open IDE3.0 and point to workspace1
      • new liferay portlet project > next > next
      • notice now comes to the wizard to setup sdk
      • browse a valid sdk which already set build.${username}.properties, but not the one that already opened in eclipse
      • finish

      error stack:

      Error creating Liferay plugin project.
      org.eclipse.core.runtime.CoreException:
      at com.liferay.ide.project.core.PluginsSDKProjectProvider.createNewProject(PluginsSDKProjectProvider.java:272)
      at com.liferay.ide.project.core.PluginsSDKProjectProvider.createNewProject(PluginsSDKProjectProvider.java:1)
      at com.liferay.ide.project.core.model.NewLiferayPluginProjectOpMethods.execute(NewLiferayPluginProjectOpMethods.java:93)
      at com.liferay.ide.project.core.model.NewLiferayPluginProjectOp$Impl.execute(Unknown Source)
      at org.eclipse.sapphire.ui.forms.swt.SapphireWizard.performFinish(SapphireWizard.java:370)
      at org.eclipse.sapphire.ui.forms.swt.SapphireWizard$3.run(SapphireWizard.java:334)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
      Contains: The app.server.dir(D:\portal\ce\612\sdk612\liferay-plugins-sdk-6.1.2/../bundles/tomcat-7.0.40) is not valid.

      Attachments

        Activity

          People

            simon.jiang Simon Jiang
            yanan.yuan Yanan Yuan(Ashley Yuan)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 51 weeks, 2 days ago

              Packages

                Version Package
                3.0 M2