Issues on "A guide to building a DLTK-based language IDE" [message #2455] |
Tue, 08 May 2007 08:46  |
Eclipse User |
|
|
|
Hi,
I've read http://wiki.eclipse.org/index.php/DLTK_IDE_Guide and have tried to
repeat all steps in Eclipse.
First of all, which version of DLTK must be used 0.8 or 1.0? I guess 0.8 but
there is no mention about it. I installed 0.8 from
http://download.eclipse.org/technology/dltk/updates/0.8/site -interim.xml
update site.
Well, here some inaccuracies I've found:
1. Creating core plugin.
Original: To create core plugin lets select do New->Plug-in Project: set
name org.eclipse.dltk.examples.python.
Fix: org.eclipse.dltk.examples.python.core
2. Creating a simple Language Toolkit
Original: In extensions tab we need to create org.eclipse.dltk.core.languege
Fix: org.eclipse.dltk.core.language
3. Creating source element parser
Original: Lets create class PythonSourceElementParser which implements
ISourceElementpParser interface
Fix: ISourceElementParser
And the main point where I've stuck is PythonSourceElementParser code
snippet. There is unknown PythonSourceParser class is used. Where I can find
its definition?
Best Regards,
Sergey Gomanyuk.
|
|
|
|
|
Re: Issues on "A guide to building a DLTK-based language IDE" [message #2546 is a reply to message #2516] |
Thu, 10 May 2007 09:00  |
Eclipse User |
|
|
|
Hi Sergey,
You are right,
We will make correct integration today, or you can checkout latest code
from CVS.
Andrei.
> Hi, again!
> My current configuration:
> Eclipse 3.3 M7
> Latest DLTK from
> http://download.eclipse.org/technology/dltk/updates/1.0/site -interim.xml
> And Python example project sources from
> http://us.xored.com/~haiodo/org.eclipse.dltk.examples.python .zip
>
> The problem is:
> org.eclipse.dltk.examples.python.ui and core each has compilation errors
> for ex:
> project org.eclipse.dltk.examples.python.ui:
> The return type is incompatible with
> ProjectWizardFirstPage.getInterpreterGroupObservable()
> org.eclipse.dltk.examples.python.ui/src/org/eclipse/dltk/exa mples/python/ui/wizards
> PythonProjectCreationWizard.java line 49
>
> project org.eclipse.dltk.examples.python.core:
> Type mismatch: cannot convert from Statement to Expression
> org.eclipse.dltk.examples.python.core/src/org/eclipse/dltk/e xamples/python/parser
> PythonSourceElementRequestor.java line 224
>
> ----------
> Sergey Gomanyuk
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04069 seconds