Re: [Pydev-code] Ported to 3.0 - it was bloody...
Brought to you by:
fabioz
From: Dana M. <dan...@ya...> - 2004-07-07 13:31:50
|
Aleks, if I do a new check out the various packages from CVS, may I assume that they will work w/ Eclipse 3.0? Thx --- Aleks Totic <a...@to...> wrote: > Hi, > I've just finished porting pydev to Eclipse 3.0. The changes have > been checked in. Unfortunately, I had to cut some of your stuff > out to make it happen, hope you can put the code back in soon: > > 1) Parhaum's test: > - the tests Java files were in the same directory tree as the > plugin. I do not like having the test files in the same tree, as > I do not want to ship them when plugin is built. I've moved them > all into docs/tests. > > I am not a big fan of indiscriminate testing. Writing a proper > testing harness is hard, and requires maintenance. And for me, it > is no fun. So I do not write them. There is a smoke test suite I > run through before the release, and that's it. > > So, Parhaum, if you'd like to include the tests in the project, > please keep them separate from the main code line. I have an > org.python.pydev.test project where I keep my smoke tests, it > might be a good place for your test cases too. > > 2) Code completion by Dana: > - Here I ran into a library loading problem. pydev uses and > compiles jython's parser internally for syntax highlights & > outline. org.pydev.jython/jython.jar included some of the same > classes, but they were different versions. In 2.0, the class > loader did what we wanted. In 3.0, the class loader has changed, > and pydev editor was getting NoSuchMethod exceptions because it > was getting PythonGrammar out of jython.jar. So I removed > jython.jar from the classpath to get things going again. This > also meant that completion processor was turned off. > > How do we solve this one? There is no simple solution. I've > submitted my changes to Jython, and they've been accepted. Maybe > you can check out the pydev compatible jython tree, and check > that in instead, and remove our jython parser port from the editor? > > I've also fixed "Open External File" command. Files outside of > workspace can be opened, but not edited. Getting editing to work > was just too much coding, nice hobby project for someone for the > weekend. > > Porting was a little annoying as Eclipse's programming usually > is. Main changes involved moving the Plugin classes to the new > Bundle standard. > > I'd like to ship this early next week. Dana, do you have an ETA > on your changes? > > Aleks > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Pydev-code mailing list > Pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > ===== _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/ Dana Moore _/ _/ BBN Technologies LLC _/ _/ M: 240.350.4196 _/ _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail |