PDA

View Full Version : Having trouble setting up pydev with Spring Python and Jython



ashkim
Oct 13th, 2010, 01:41 AM
Also posted here: http://stackoverflow.com/questions/3921191/how-setup-springpython-with-jython-and-eclipse-pydev

I'm having trouble setting up SpringPython with PyDev and Jython

I've installed Spring python by:


jython setup.py install

the setup.py installed the library to my jython installation successfully as I can import and use the spring classes when using the Jython REPL.

In my PyDev project i've selected the jython interpreter and have c:\jython2.5.1\Lib and c:\jython2.5.1\Lib\site-packages in my Library paths

http://i.imgur.com/2iiSB.png

My eclipse environment fails to resolve the new classes, such as


from springpython.context import ApplicationContext

http://i.imgur.com/KIsD9.png


What else do I need to do to configure SpringPython?

Many thanks!

gregturn
Oct 13th, 2010, 10:08 AM
Have you tried the answer that was posted at stackoverflow?

ashkim
Oct 13th, 2010, 06:04 PM
I came in to work this morning and started eclipse - all's well!

gregturn
Oct 13th, 2010, 08:58 PM
Great!

P.S. If you find yourself wanting to write a blog article about your adventure into SP, feel free to tweet me the link, and I'll add it to http://springpython.webfactional.com/node/36