facebook

Only source tab available in JSP editor

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #241343 Reply

    Hi, when I open a JSP file the only tab available is the “Source” one; there’s no “Design” or “Preview” tab available.

    Here’s the error …

    Thanks in advance

    SESSION 2005-11-12 09:21:49.535 ———————————————–
    eclipse.buildId=M20050929-0840
    java.version=1.5.0_05
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
    Command-line arguments: -os linux -ws gtk -arch x86

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-11-12 09:22:57.314
    !MESSAGE Installed snippet library: /opt/MyEclipse/eclipse/plugins/com.genuitec.eclipse.wizards_4.0.1/snippets/css_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-11-12 09:22:57.455
    !MESSAGE Installed snippet library: /opt/MyEclipse/eclipse/plugins/com.genuitec.eclipse.wizards_4.0.1/snippets/forms_lists_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-11-12 09:22:57.507
    !MESSAGE Installed snippet library: /opt/MyEclipse/eclipse/plugins/com.genuitec.eclipse.wizards_4.0.1/snippets/htmlform_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-11-12 09:22:57.570
    !MESSAGE Installed snippet library: /opt/MyEclipse/eclipse/plugins/com.genuitec.eclipse.wizards_4.0.1/snippets/html_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-11-12 09:22:57.643
    !MESSAGE Installed snippet library: /opt/MyEclipse/eclipse/plugins/com.genuitec.eclipse.wizards_4.0.1/snippets/javascript_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-11-12 09:22:57.719
    !MESSAGE Installed snippet library: /opt/MyEclipse/eclipse/plugins/com.genuitec.eclipse.wizards_4.0.1/snippets/jsf_f_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-11-12 09:22:57.829
    !MESSAGE Installed snippet library: /opt/MyEclipse/eclipse/plugins/com.genuitec.eclipse.wizards_4.0.1/snippets/jsf_h_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-11-12 09:22:57.929
    !MESSAGE Installed snippet library: /opt/MyEclipse/eclipse/plugins/com.genuitec.eclipse.wizards_4.0.1/snippets/struts_bean_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-11-12 09:22:58.08
    !MESSAGE Installed snippet library: /opt/MyEclipse/eclipse/plugins/com.genuitec.eclipse.wizards_4.0.1/snippets/struts_html_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-11-12 09:22:58.69
    !MESSAGE Installed snippet library: /opt/MyEclipse/eclipse/plugins/com.genuitec.eclipse.wizards_4.0.1/snippets/struts_logic_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-11-12 09:22:58.127
    !MESSAGE Installed snippet library: /opt/MyEclipse/eclipse/plugins/com.genuitec.eclipse.wizards_4.0.1/snippets/struts_tiles_snippets.xml

    !ENTRY com.genuitec.eclipse.webdesigner 1 0 2005-11-12 09:41:25.969
    !MESSAGE No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]

    !ENTRY com.genuitec.eclipse.webdesigner 1 0 2005-11-12 10:16:35.418
    !MESSAGE No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]

    !ENTRY com.genuitec.eclipse.webdesigner 1 0 2005-11-12 10:18:53.209
    !MESSAGE No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]
    !SESSION 2005-11-12 13:09:44.357 ———————————————–
    eclipse.buildId=M20050929-0840
    java.version=1.5.0_05
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
    Command-line arguments: -os linux -ws gtk -arch x86

    !ENTRY org.eclipse.ui 4 0 2005-11-12 13:10:12.710
    !MESSAGE Warning: Detected recursive attempt by part com.genuitec.eclipse.webdesigner.jsp to create itself (this is probably, but not necessarily, a bug)
    !STACK 1
    org.eclipse.ui.PartInitException: Warning: Detected recursive attempt by part com.genuitec.eclipse.webdesigner.jsp to create itself (this is probably, but not necessarily, a bug)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:543)
    at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:223)
    at org.eclipse.ui.internal.EditorManager.findEditor(EditorManager.java:477)
    at org.eclipse.ui.internal.EditorManager.findEditor(EditorManager.java:402)
    at org.eclipse.ui.internal.EditorManager.findEditor(EditorManager.java:372)
    at org.eclipse.ui.internal.WorkbenchPage.findEditor(WorkbenchPage.java:1780)
    at com.genuitec.eclipse.core.util.EditorUtil.getEditorForInput(Unknown Source)
    at com.genuitec.eclipse.core.util.EditorUtil.checkConflictingEditor(Unknown Source)
    at com.genuitec.eclipse.webdesigner2.HTMLMultiPageEditorPart.init(HTMLMultiPageEditorPart.java:873)
    at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:778)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:384)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
    at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:283)
    at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:126)
    at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
    at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
    at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:391)
    at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1102)
    at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1051)
    at org.eclipse.ui.internal.PartStack.presentationSelectionChanged(PartStack.java:785)
    at org.eclipse.ui.internal.PartStack.access$0(PartStack.java:771)
    at org.eclipse.ui.internal.PartStack$1.selectPart(PartStack.java:119)
    at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:126)
    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)
    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:276)
    at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)
    at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$2.handleEvent(DefaultTabFolder.java:84)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1045)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1030)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:900)
    at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3138)
    at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1922)
    at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:288)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2867)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2572)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
    at org.eclipse.core.launcher.Main.run(Main.java:973)
    at org.eclipse.core.launcher.Main.main(Main.java:948)
    !SUBENTRY 1 org.eclipse.ui 4 0 2005-11-12 13:10:12.712
    !MESSAGE Warning: Detected recursive attempt by part com.genuitec.eclipse.webdesigner.jsp to create itself (this is probably, but not necessarily, a bug)

    !ENTRY com.genuitec.eclipse.webdesigner 1 0 2005-11-12 13:10:18.60
    !MESSAGE No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]

    #241360 Reply

    Riyad Kalla
    Member

    If you right click on your JSP file and go to the Open WIth menu, which editor has a black dot next to it? The “MyEclipse JSP Designer” should be the one you use, you may have another plugin installed that has taken the JSP association.

    #241463 Reply

    Precisely “MyEclipse JSP Designer” is selected. I recently read that it might not be supported under linux (I’m running ubuntu 5.1) if it’s so, when will it be supported?

    #241464 Reply

    Riyad Kalla
    Member

    You are correct the new designer isn’t supported on Linux yet, we are trying to get an initial port done for 4.1, but it may get pushed later to give it more time for testing.

    #241472 Reply

    Just FMI … is it so different SWT programming for windoze from the one for linux??

    #241474 Reply

    Greg
    Member

    The JSP Designer uses other technologies besides SWT that are not currently available on non-win32 platforms. We are in the process of making these technologies available on Linux and Mac, so in the future, MyEclipse HTML Designer will support these platforms.

    #242073 Reply

    Is there a table to compare which features are supported under certain OSs then? This is a huge surprise to me.

    #242082 Reply

    Scott Anderson
    Participant

    Here’s the rundown:
    WYSIWYG visual JSP designer: Windows only
    UML: Linux and Windows only
    Everything else, Windows / Linux / Mac

    #245908 Reply

    cfunk
    Member

    Any updates on the linux JSP designer? Also, should JSP code complete be functional under linux? (Running 4.1)

    #245915 Reply

    Riyad Kalla
    Member

    cfunk,
    No update, but yes, code completion in the Source view should be functional. Where are you not seeing it? (code snippet)

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: Only source tab available in JSP editor

You must be logged in to post in the forum log in