facebook

HTML/JSP editor not working under Linux (SuSE 10,1)

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #254393 Reply

    Roger
    Member

    Hi,

    I’ve installed ME5.0M2 on E3.2. After setting the MOZILLA_FIVE_HOME variable to the Mozilla 1.6 GTK2 install i have, the browser worked but not the editor.

    Part of the error is below

    !ENTRY org.eclipse.jface 4 2 2006-07-09 17:42:18.444
    !MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.jface”.
    !STACK 0
    java.lang.NoClassDefFoundError: com/genuitec/javascript/debug/mozilla/ImprovedMozillaBrowser
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
    at java.lang.Class.getConstructor0(Class.java:2640)
    at java.lang.Class.newInstance0(Class.java:321)
    at java.lang.Class.newInstance(Class.java:303)
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:157)
    at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:759)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
    at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:242)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
    at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:238)
    at org.eclipse.ui.internal.registry.EditorDescriptor.createEditor(EditorDescriptor.java:231)
    at org.eclipse.ui.internal.EditorManager.createPart(EditorManager.java:908)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:549)

    Any help much appreciated as if not I will have to go back to Windows

    R

    #254395 Reply

    Greg
    Member

    Try restarting once with a -clean. That should clear things up.

    Also, to get the Visual HTML Designer to fuction you have to set

    MOZILLA_FIVE_HOME=""

    You can read the technical notice for more information. Help > Help Contents > MyEclipse Learning Center > Release and Technical notes > Technical notes > Linux Internal Web Browser Compatibility.

    One last thing, the cross-platform Visual Web Designer only supports HTML for 5.0 Milestone2. In 5.0 GA we will be adding support for JSP to the cross-platform Visual Designer.

    #254477 Reply

    jbarbic
    Member

    @support-greg wrote:

    Try restarting once with a -clean. That should clear things up.

    Also, to get the Visual HTML Designer to fuction you have to set

    MOZILLA_FIVE_HOME=""

    You can read the technical notice for more information. Help > Help Contents > MyEclipse Learning Center > Release and Technical notes > Technical notes > Linux Internal Web Browser Compatibility.

    One last thing, the cross-platform Visual Web Designer only supports HTML for 5.0 Milestone2. In 5.0 GA we will be adding support for JSP to the cross-platform Visual Designer.

    Greg,

    I work with FreeMarker templates that contain a lot of html. I tried associating a new file type .ftl to various editors. Many of the HTML editors worked fine, but not the MyEclipse Visual Html Editor. In the GA will you also allow us to associate other file types to the editor?

    #254482 Reply

    Scott Anderson
    Participant

    Actually, you should be able to do this now, but not by associating the extension. You need to associate the Content Type of HTML with the *.ftl extension. You can do that at Window > Preferences > General > Content Types > Text > HTML and pressing ‘Add’. In the dialog add *.ftl. Once done, you should be able to use the HTML editor with your FreeMarker templates.

    #283185 Reply

    Fuad Efendi
    Member

    This message has not been recovered.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: HTML/JSP editor not working under Linux (SuSE 10,1)

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