[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [Dltk-dev] JavaScriptEditor -> JavascriptEditor editor id.
|
sorry i think it was something else that also came with that change in my workspace (one other that i didnt update yet)
So i think it wasnt that change but another that was completely updated.
On Tue, Mar 10, 2009 at 22:08, Jae Gangemi
<jgangemi@xxxxxxxxx> wrote:
ok - i think i see what the problem is.
the _javascript_Editor has the following constant defined:
public static final String EDITOR_ID = "org.eclipse.dltk._javascript_.internal.ui.editor._javascript_Editor";
but all the definitions in the plugin.xml use this:
org.eclipse.dltk._javascript_.ui.editor._javascript_Editor
so i think fixing the constant in the editor to match what is in the plugin.xml file will resolve the problem.
On Tue, Mar 10, 2009 at 4:56 PM, Johan Compagner
<jcompagner@xxxxxxxxx> wrote:
no you can open it
But our customers do an upgrade of an existing workspace with all kind of editors open
and they now can for all the js editors once a big error that that editor cant be opened
at least that is what i got.
this is what you get in the log:
!MESSAGE Unable to create editor ID org.eclipse.dltk._javascript_.ui.editor._javascript_Editor: The editor class could not be instantiated. This usually indicates that the editor's class name was mistyped in plugin.xml.
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/dltk/_javascript_/internal/ui/editor/_javascript_Editor (wrong name: org/eclipse/dltk/_javascript_/internal/ui/editor/_javascript_Editor)
at java.lang.ClassLoader.defineClass1(Native Method)
On Tue, Mar 10, 2009 at 21:09, Jae Gangemi
<jgangemi@xxxxxxxxx> wrote:
are you referring to the change i made earlier where i fixed the editor id in the plugin.xml? that change just fixed the name of the editor id to the correct one.
i don't see any cases where i am unable to open js editors in my environment.
--
-jae
_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev
_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev
--
-jae
_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev