RE: Unable to edit component with WOLips 4118 (stable)

From: JR Ruggentaler (JR.Ruggentale..pv.com)
Date: Wed Jun 27 2007 - 15:15:50 EDT

  • Next message: Chuck Hill: "Re: Unable to edit component with WOLips 4118 (stable)"

    Yes I did check the log. I can send all of the log if necessary.

    The editor seems to be having problems parsing the component api file.

    !ENTRY org.objectstyle.wolips.apieditor.ApieditorPluginResources 2 2
    2007-06-27 14:06:18.040
    !MESSAGE Failed to parse API file
    C:\jr\MPV\HEAD\Source5\WebApps\Mohawk\BuildNote.api.
    !STACK 0
    org.objectstyle.wolips.core.resources.types.api.ApiModelException:
    Failed to parse API file
    C:\jr\MPV\HEAD\Source5\WebApps\Mohawk\BuildNote.api.
            at
    org.objectstyle.wolips.core.resources.types.api.ApiModel.parse(Unknown
    Source)
            at
    org.objectstyle.wolips.core.resources.types.api.ApiModel.<init>(Unknown
    Source)
            at
    org.objectstyle.wolips.apieditor.editor.ApiEditor.getModel(Unknown
    Source)
            at
    org.objectstyle.wolips.apieditor.editor.ApiEditor.addPages(Unknown
    Source)
            at
    org.eclipse.ui.forms.editor.FormEditor.createPages(FormEditor.java:142)
            at
    org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEdito
    rPart.java:276)
            at
    org.objectstyle.wolips.componenteditor.part.ComponentEditorTab.createInn
    erPartControl(Unknown Source)
            at
    org.objectstyle.wolips.componenteditor.part.ApiTab.createTab(Unknown
    Source)
            at
    org.objectstyle.wolips.componenteditor.part.ComponentEditorPart.createPa
    ges(Unknown Source)
            at
    org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEdito
    rPart.java:276)
            at
    org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference
    .java:596)
    ...

    Here is the contents of the API file.

    {
        /*
           This file describes the keys (methods and variables) that are
    exported
           as possible bindings for a WebObject of this component type. Any
    keys
           listed here will appear in the bindings inspector in
    WebObjectsBuilder.
           The format is a comma separated list of strings:
             (key1, key2, key3)
           The required bindings should list any that must have values for
    the
           component to function correctly. The optional list is for those
    bindings
           which are not needed by the component (i.e. can be nil/null) but
    can be
           used to supply additional information to the component.
        */
        Required = (buildNote);
        Optional = ();
    }



    This archive was generated by hypermail 2.0.0 : Wed Jun 27 2007 - 15:16:48 EDT