facebook

Visual editors on x64 Linux

  1. MyEclipse IDE
  2.  > 
  3. Comments
Viewing 6 posts - 16 through 21 (of 21 total)
  • Author
    Posts
  • #319366 Reply

    Ricardo
    Participant

    Already set the variable -Dlinux.experimental=true

    Here my SO spec:

    Linux 2.6.40.3-0.fc15.x86_64 #1 SMP Tue Aug 16 04:10:59 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

    Fedora release 15 (Lovelock)

    #319376 Reply

    support-tony
    Keymaster

    rprimintela,

    Did you place the -Dlinux.experimental=true setting after the -vmargs line in myeclipse.ini?

    If you have included the setting in the right place but still don’t get the visual editors, do you get some error dialog? This is what should happen if the experimental flag is set but there is some other incompatibility. The dialog will have a link to further information that may help.

    I tried this on Fedora 15 but only have a 32 bit installation, at the moment. It worked fine. However, I had installed xulrunner 1.9.1 previously. Could you install a version of xulrunner that is earlier than 2.0? This is often the problem.

    As you can see from the need to specify linux.experimental=true, the tools are still experimental. This is due to the fact we have never been able to achieve a good level of stability with XULRunner on Linux due to technical reasons with the XULRunner builds and constantly changing Linux distributions with corresponding conflicts.

    I’m sorry that this has remained in experimental mode for so long; going forward we are looking for alternative solutions as Mozilla has ended support for embedded XULRunner, which is what we use in our Visual Designers.

    #319392 Reply

    Ricardo
    Participant

    Here is myeclipseforspring.ini

    
    #ansi (do not remove)
    #ansi (do not remove)
    -startup
    ../Common/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
    --launcher.library
    ../Common/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.1.R36x_v20100810
    -install
    /home/rprimintela/Programas/MyEclipseForSpring/MyEclipse for Spring 9
    -vm
    /home/rprimintela/Programas/MyEclipseForSpring/Common/binary/com.sun.java.jdk.linux.x86_64_1.6.0.013/bin/java
    -configuration
    /home/rprimintela/Programas/MyEclipseForSpring/MyEclipse for Spring 9/configuration
    -nl
    en_US 
    -vmargs
    -Xmx768m
    -XX:MaxPermSize=384m
    -XX:ReservedCodeCacheSize=64m
    -Dlinux.experimental=true
     

    The xulrunner version that ask me to install is very old, now I have this
    xulrunner-6.0-2.fc15.x86_64

    Can you help me with commands to downgrade?

    #319412 Reply

    support-tony
    Keymaster

    rprimintela,

    I managed to get this working with Fedora 15 64 bit. There are probably other ways to do this but this is what I did:

    Let me know if this works for you.

    #319420 Reply

    Ricardo
    Participant

    Sorry Tony, not working. I pass you my stacktrace:

    
    !ENTRY org.eclipse.osgi 2 1 2011-09-01 09:36:22.771
    !MESSAGE NLS unused message: Unnecessary_Semicolon_ERROR in: org.eclipse.wst.html.core.internal.HTMLCorePluginResources
    
    !ENTRY org.eclipse.osgi 2 1 2011-09-01 09:36:22.772
    !MESSAGE NLS missing message: Obsolete_attribute_name___ERROR_ in: org.eclipse.wst.html.core.internal.HTMLCorePluginResources
    
    !ENTRY org.eclipse.ui 4 0 2011-09-01 09:40:48.581
    !MESSAGE Unable to create editor ID com.genuitec.eclipse.webdesigner3.editors.jsp: The function "createInstanceByContractID" returned an error condition  (0x80004002)
    !STACK 0
    org.mozilla.xpcom.XPCOMException: The function "createInstanceByContractID" returned an error condition  (0x80004002)
        at org.mozilla.xpcom.internal.XPCOMJavaProxy.callXPCOMMethod(Native Method)
        at org.mozilla.xpcom.internal.XPCOMJavaProxy.invoke(XPCOMJavaProxy.java:143)
        at $Proxy10.createInstanceByContractID(Unknown Source)
        at com.genuitec.eclipse.webdesigner3.util.XPCOMUtil.getSupportedFonts(XPCOMUtil.java:275)
        at com.genuitec.eclipse.webdesigner3.toolbar.FontFaceComboContributionItem.getInitStrings(FontFaceComboContributionItem.java:33)
        at com.genuitec.eclipse.webdesigner3.toolbar.Webdesigner3ComboContributionItem.createControl(Webdesigner3ComboContributionItem.java:89)
        at com.genuitec.eclipse.webdesigner3.toolbar.Webdesigner3ComboContributionItem.fill(Webdesigner3ComboContributionItem.java:167)
        at org.eclipse.jface.action.ToolBarManager.update(ToolBarManager.java:353)
        at org.eclipse.jface.action.ToolBarManager.createControl(ToolBarManager.java:111)
        at org.eclipse.jface.action.ToolBarContributionItem.fill(ToolBarContributionItem.java:192)
        at org.eclipse.jface.action.CoolBarManager.update(CoolBarManager.java:930)
        at com.genuitec.eclipse.webdesigner3.toolbar.EmbeddedToolfolderManager.createToolbars(EmbeddedToolfolderManager.java:424)
        at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createVisualEditor(WebDesignerMultiPageEditor.java:830)
        at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createDesignPage(WebDesignerMultiPageEditor.java:676)
        at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createPages(WebDesignerMultiPageEditor.java:416)
        at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:348)
        at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:670)
        at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
        at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
        at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
        at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
        at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
        at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
        at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
        at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1254)
        at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1207)
        at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1606)
        at org.eclipse.ui.internal.PartStack.add(PartStack.java:497)
        at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
        at org.eclipse.ui.internal.PartStack.add(PartStack.java:483)
        at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
        at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
        at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:225)
        at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213)
        at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:778)
        at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:677)
        at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:638)
        at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2860)
        at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2768)
        at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2760)
        at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2711)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2707)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2691)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2682)
        at org.eclipse.ui.ide.IDE.openEditor(IDE.java:651)
        at org.eclipse.ui.ide.IDE.openEditor(IDE.java:610)
        at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:365)
        at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:168)
        at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:229)
        at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:208)
        at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:274)
        at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:250)
        at org.eclipse.jdt.internal.ui.navigator.OpenAndExpand.run(OpenAndExpand.java:49)
        at org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:221)
        at org.eclipse.ui.navigator.CommonNavigatorManager$3.open(CommonNavigatorManager.java:185)
        at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)
        at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:845)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
        at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
        at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
        at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:843)
        at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1131)
        at org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:462)
        at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1235)
        at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:264)
        at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:258)
        at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:298)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
        at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        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:597)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
    

    And here my -ini file

    
    #ansi (do not remove)
    #ansi (do not remove)
    -startup
    ../Common/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
    --launcher.library
    ../Common/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.1.R36x_v20100810
    -install
    /home/rprimintela/Programas/MyEclipseForSpring/MyEclipseForSpring9
    -vm
    /home/rprimintela/Programas/MyEclipseForSpring/Common/binary/com.sun.java.jdk.linux.x86_64_1.6.0.013/bin/java
    -configuration
    /home/rprimintela/Programas/MyEclipseForSpring/MyEclipseForSpring9/configuration
    -nl
    en_US 
    -vmargs
    -Xmx768m
    -XX:MaxPermSize=384m
    -XX:ReservedCodeCacheSize=64m
    -Dlinux.experimental=true
    -Dorg.eclipse.swt.browser.XULRunnerPath=/home/rprimintela/Programas/MyEclipseForSpring/xulrunner
    
    #319432 Reply

    support-tony
    Keymaster

    rprimintela,

    Sorry. I thought it was working because I tried the visual JSF designer and that works fine. However, after your post, the other visual designers that I try all show the same error as you posted.

    The good news is that you should be able to use the MyEclipse Visual JSF Designer on jsp, jsf and xhtml files.

    The bad news is that the code in all the visual designers is experimental, as I mentioned above, and can’t be made to work on all systems, especially the newer ones.

    We do intend to change the implementation of the visual designers to avoid using xulrunner but can’t commit to a release date, at the moment. In the meantime, you can use the visual JSF designer and the other non-visual editors. We’ll keep trying to find a temporary solution for some systems that users have and will post when we find any.

Viewing 6 posts - 16 through 21 (of 21 total)
Reply To: Visual editors on x64 Linux

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