Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » Issues on "A guide to building a DLTK-based language IDE"
Issues on "A guide to building a DLTK-based language IDE" [message #2455] Tue, 08 May 2007 12:46 Go to next message
Sergey Gomanyuk is currently offline Sergey GomanyukFriend
Messages: 46
Registered: July 2009
Member
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 #2486 is a reply to message #2455] Thu, 10 May 2007 09:47 Go to previous messageGo to next message
Andrei Sobolev is currently offline Andrei SobolevFriend
Messages: 17
Registered: July 2009
Junior Member
Hi Sergey,

Thanks for fixes.
I've updated demo. For now it uses latest integration and Eclipse 3.3M7.

PythonSourceParser class are in org.eclipse.dltk.examples.python.core
project. org.eclipse.dltk.examples.python.parser package.

> 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 #2516 is a reply to message #2486] Thu, 10 May 2007 10:55 Go to previous messageGo to next message
Sergey Gomanyuk is currently offline Sergey GomanyukFriend
Messages: 46
Registered: July 2009
Member
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
Re: Issues on "A guide to building a DLTK-based language IDE" [message #2546 is a reply to message #2516] Thu, 10 May 2007 13:00 Go to previous message
Andrei Sobolev is currently offline Andrei SobolevFriend
Messages: 17
Registered: July 2009
Junior Member
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
>
>
Previous Topic:ASTNode - Expression/Statement suggestion
Next Topic:Editor: Double Quoting
Goto Forum:
  


Current Time: Fri Apr 12 18:58:42 GMT 2024

Powered by FUDForum. Page generated in 0.03044 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top