My first jython attempt is a java / jython project which I am writing in eclipse with pydev.
I created a java project and then made the pydev project RightClick project β pydev β installed as ... you got the idea. Then I added two source folders: one for java and one for jython, and there is a package in each source folder. And I set each folder as the build path for the project. I assume that I will let you know all this, so I hope you can tell me that I am sure that the project was set up correctly.
But the real question is: how can I get jython code in a class file so that Java code can use it? . The preferred method would be that eclipse / pydev would do this for me automatically, but I cannot figure it out. Something mentioned in the jython user guide implies that this is possible, but I cannot find information about it anywhere.
EDIT: I found some information here and here , but things are not going too smoothly.
I followed the guide carefully in the second link, but I cannot figure out how to get jythonc to create a constructor for my python class.
java python eclipse jython pydev
Victor Jul 02 '09 at 18:17 2009-07-02 18:17
source share