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

Shouldn't show add module dependency message for sdk project

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.1 M2
    • Fix Version/s: None
    • Component/s: Projects > Portlet
    • Labels:
      None

      Description

      1.create sdk (70 or 62) portlet project then new portlet on the project
      2.go to java file check class extends "MVCPortlet" by default
      3.when change parent class "MVCPortlet" to another class such as "MVCPortlets", notice hint message : " change to com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet "
      4.when change parent class "MVCPortlet" to such as "RelatedEntryIndexer", notice hint message : " Add module dependency com.liferay.portal.kernel ", but when click " Add module dependency com.liferay.portal.kernel ", error appears in error log

      org.eclipse.core.runtime.CoreException: Not implemented
      at com.liferay.ide.project.core.SDKProjectBuilder.updateProjectDependency(SDKProjectBuilder.java:233)
      at com.liferay.ide.project.ui.quickfix.LiferayDependencyQuickFix$1.apply(LiferayDependencyQuickFix.java:246)
      at org.eclipse.jdt.internal.ui.text.java.hover.AbstractAnnotationHover$AnnotationInformationControl.apply(AbstractAnnotationHover.java:548)
      at org.eclipse.jdt.internal.ui.text.java.hover.AbstractAnnotationHover$AnnotationInformationControl.access$2(AbstractAnnotationHover.java:525)
      at org.eclipse.jdt.internal.ui.text.java.hover.AbstractAnnotationHover$AnnotationInformationControl$5.widgetSelected(AbstractAnnotationHover.java:519)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1103)
      at org.eclipse.swt.widgets.Widget.sendSelectionEvent(Widget.java:1120)
      at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:1035)
      at org.eclipse.swt.widgets.Control.windowProc(Control.java:4836)
      at org.eclipse.swt.widgets.Display.windowProc(Display.java:5123)
      at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
      at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2552)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3822)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
      at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
      at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1519)

        Attachments

          Activity

            People

            Assignee:
            lr_ide LR IDE
            Reporter:
            ying.xu Ying Xu (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:
              2 years, 48 weeks, 1 day ago

                Packages

                Version Package