Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] python example, which DLTK version, please?


  at this point, it's completely possible that the wiki article is out of date (it was last updated in july). i think you'd be better off pulling out the dltk core and python sources from cvs and just working directly with that. everything compiles and seems to run without error, although i did not do extensive testing.

  now, i'll be the first to agree that there is an overall lack of documentation but this project is still in the 'incubation phase' and the apis are evolving rapidly, so it's hard to write documentation for something that is potentially going to change. most of the 'public' facing apis in the toolkit do have docs, while more of the internal classes do not, however that has been slowly changing.

  if you want to work with this toolkit right now, you've got to be willing to do a little investigative work and dig around yourself to figure out what's going on. of course, if you have questions or need a jumping off point, just ask.

On 10/14/07, Chris Henderson <chris_h_henderson@xxxxxxxxx> wrote:
Hi Leonardo,
those patches help to get the code compiled, but they cause crashes for a number of reasons. Among others, you treat the filename argument to parse() methods as the source argument, and returning null for all inherited abstract methods gets you a number of NullPointerExceptions.

I'll now digress from dltk like many others who can't understand the lack of any functional introduction into a tool that the developers obviously want to see spread, but don't invest any support into. I regard dltk as a hacker product of nerds who know java better than English, which explains the incapability to write readable documentation - if any at all.

Chris


 

Leonardo Nauta <patojonauta@xxxxxxxxx > wrote:
Hi Chris, I downloaded the same file as you and I found the same problems using dltk-0.9.0v20070601(Incubation) (this was the only one I could download with eclipse software updates manager) and eclipse  3.3 the latest.
So I found that there are some methods in current version of DLTK that have been changed since the tutorial was made.
I mean the same methods names exist, but the arguments have changed. thats the problem you should see. so I updated the methos and they compiled.
thats the first part, the second is that the class NewDLTKProjectPreferencePage is missing, so I think they refactor the name to NewScriptProjectPreferencePage.
The third thing is that there are new methods in abstract classes so you must implement them in your classes, even if they are empty. With that in mind you should be able to do the job and compile the plugin. I havent tested, because I want to explore the source code.
I am still waiting the cvs repository address in order the fix that. I hope it works
I attached the changes I did in the example. (I did not attached org.eclipse.dltk.python.antlr 'cause they are libraries and they did not have any errros)

On 10/13/07, Chris Henderson <chris_h_henderson@xxxxxxxxx > wrote:
Hello,
I try to get started with DLTK. So I want to compile the Python example from http://wiki.eclipse.org/DLTK_IDE_Guide , more precisely this link: http://us.xored.com/~haiodo/org.eclipse.dltk.examples.python.zip

That examples says:
"Requirements:
1. Latest DLTK 1.0 integration build required.
2. Eclipse 3.3M6 or later required."

I have installed Eclipse:
Version: 3.3.0
Build id: I20070625-1500

And I tried both DLTK 0.9 and DLTK 1.0:
dltk-sdk-R-0.9.1-200709271332-incubation.zip
dltk-sdk-I-I200707191353-200707191353-incubation.zip

The first produced some 20 compilation errors, the second some 100 compilation errors that I am not able to fix.

Please provide a link to a specific Eclipse version and a specific DLTK version, that in combination can be used to compile the Python example.

Thanks
Chris

-------------------------------------------------------------
José Leonardo Díaz Ordóñez
Ingeniero en electrónica y Telecomunicaciones
Énfasis en ingeniería Telemática
Universidad del Cauca, Popayán Colombia _______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev


Yahoo! oneSearch: Finally, mobile search that gives answers, not web links.


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




--
-jae

Back to the top