I want desperately to use Pydev Extensions to develop Plone products, but I can't get any of the code checking features to work correctly (unresolved import error many have mentioned, seems to be with all Plone, but not Zope products... additionally, Pydev OS works fine - just not the extra goodies in extensions =/ ). Has anyone got any tips on configuring/hacking/doing anything to make this work correctly? I saw a few posts, but none made any immediate sense in my situation.
Have you checked: http://pydev.blogspot.com/2007/02/notes-on-configuring-zope-and-pylons.html (mainly thing about the __init__.py files)?
Also found a nice reference from another blog: http://nevilleharrison.wordpress.com/2007/02/10/13/
After banging my head against a wall for a few hours on this:
1. I am running plone, python, and zope all built from source. OpenSuse 10.2 (rather than windows, which I think the authors of those FAQ's were using... don't know if that has anything to do with it)
2. I need to add /-ploneinstance- to the path rather than /-ploneinstance-/Products
3. Doing (2) prevents me from launching zope from inside of eclipse. This is inconvienent for debugging.
I will continue to fiddle with things and see if I have any better luck.
Also, referencing my earlier post- the FAQ's work fine for the Pydev OS product, just not Pydev extensions (FYI).
Ok - last clue here...
This makes no sense to me, but my guess is that it has to do with the order in which things are read from the PYTHONPATH -
It works ONLY if you have the /zope/lib/python folder first, and the /-ploneinstance- folder second, but not the other way around.