Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] Editor without a nature?


I am using 0.9.1.r09_v20070920.

Thanks for the fix,
Gerald

At 03:49 AM 11/8/2007, you wrote:
Hi folks,

Gerald, do you work with 0.9 or 1.0 stream? Andrei, please make sure the fix is went to 0.9 stream as well.

Kind Regards,
Andrey


----- Original Message -----
From: "andrei.sobolev@xxxxxxxxx" <haiodo@xxxxxxxxx>
To: "DLTK Developer Discussions" <dltk-dev@xxxxxxxxxxx>
Sent: Thursday, November 8, 2007 3:44:47 PM (GMT+0600) Asia/Novosibirsk
Subject: Re: [Dltk-dev] Editor without a nature?

Hi Gerald,

Actually it was bug, I've fixed it, Thanks.

For source modules not in script project, DLTK core creates fake project
and all required infrastructure. This is required for example for
outline, and so on.

Best regards,
Andrei.

> Seems like my DLTK editor is insisting on belonging to a specific
> project/nature.  If I remove the reference to a nature from my editor,
> I get:
>
> !MESSAGE Problems occurred when invoking code from plug-in:
> "org.eclipse.dltk.ui".
> !STACK 0
> java.lang.NullPointerException
> at
> org.eclipse.dltk.internal.core.mixin.MixinBuilder.buildModelElements(MixinBuilder.java:64)
>
>
> which is trying to lookup a nature.
>
> Is there a way to not be tied to a nature?  My editor will be used in
> any number of different projects.
>
> Alternately, is there a way to automatically add my nature to any
> project where the editor is opened?
>
> Thanks,
> Gerald
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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

_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev



Back to the top