From: J. M. E. <jma...@gm...> - 2011-11-05 16:12:56
|
Josh: OK.please connect me with one of the Jython 2.2 to 2.5 developers. I will then work with them to determine how we could most effectively migrate Kepler 2.2 from Jython 2.2 to Jython 2.5.2. I will be working with one of the Kepler/Ptolemy II developers on this migration. Kind regards, Marc J. Marc Edwards, Lead Architect Semiconductor Design Portals Nimbis Services, Inc. Cell - (919) 345-1021 Fax - (919) 882-8602 Skype - (919) 747-3775 jma...@gm... mar...@ni... From: Josh Juneau [mailto:jun...@gm...] Sent: Saturday, November 05, 2011 10:21 AM To: mar...@ni... Cc: jyt...@li... Subject: Re: Question regarding Jython compatibility between Jython 2.2 and 2.5.2... Marc- There were some significant changes made to the Jython code base in order to go from Jython 2.2 to 2.5. Changes included the removal of jythonc, which allowed one to compile Jython into Java...and this was removed because there was no "good" way of making it functional again under the 2.5 code base. This change may affect the compatibility of Jython 2.5+ with the existing Kepler distribution. I was not involved in the development process from 2.2 to 2.5, so I cannot give you a very in-depth answer. I worked on documentation and web site changes only at that point. Perhaps one of the other developers who was more involved with the development could give you more insight as to what it would take in order to make 2.5 work with Kepler. Best Josh Juneau jun...@gm... http://jj-blogger.blogspot.com http://www.jythonbook.com Oracle PL/SQL Recipes - http://www.apress.com/9781430232070 On Fri, Nov 4, 2011 at 2:48 PM, J. Marc Edwards <mar...@ni...> wrote: Josh: I am using Kepler (www.kepler-project.org) which is a Java-based workflow framework. Kepler has integrated an older version of the Jython interpreter into Kepler, and that is how they execute Python code within Kepler actors. I was concerned about the Jython 2.2 interpreter that was distributed with Kepler version 2.2 and wanted to upgrade the Jython interpreter to 2.5.2. When I discussed this on the kepler-users SourceForge group, the response was this: Hi Marc, My notes about Kepler/Ptolemy and Python are at https://kepler-project.org/developers/reference/python-and-kepler I don't know of anyone who has integrated Jython 2.5.2 into Kepler. The problem is that Jython changed in an incompatible way, Jython 2.2 had org.python.core.PyJavaInstance, Jython 2.5.2 does not have that class, try searching the web for PyJavaInstance. _Christopher I have found the PyJavaInstance in the org.python.core package. What are your thoughts on this response? Kind regards, Marc J. Marc Edwards Lead Architect - Semiconductor Design Portals Nimbis Services, Inc. Skype: (919) 747-3775 <tel:%28919%29%20747-3775> Cell: (919) 345-1021 <tel:%28919%29%20345-1021> Fax: (919) 882-8602 <tel:%28919%29%20882-8602> mar...@ni... www.nimbisservices.com On 11/04/2011 02:42 PM, Josh Juneau wrote: Marc- I've had to do similar tricks with PyCharm and Netbeans. I believe that the IDE has its own set of paths, and it does not use the paths set up by the operating system, etc. Sometimes setting paths up within an IDE can be tricky! Sorry I do not have any specific answers for your question. Josh Juneau jun...@gm... http://jj-blogger.blogspot.com http://www.jythonbook.com Oracle PL/SQL Recipes - http://www.apress.com/9781430232070 On Fri, Nov 4, 2011 at 12:51 PM, J. Marc Edwards <mar...@ni...> wrote: All: I did resolve my import of the org.python.core package, by finding a posting to add the jython.jar file to my External Libraries path. But why?? As part of the Eclipse PyDev set up, I had to set up the Jython 2.5.2 which clearly points to the jython.jar file. Can someone help me understand the foundation upon which I need to specify this jython.jar in both the interpreter AND the external libraries? Kind regards, Marc -- J. Marc Edwards Lead Architect - Semiconductor Design Portals Nimbis Services, Inc. Skype: (919) 747-3775 <tel:%28919%29%20747-3775> Cell: (919) 345-1021 <tel:%28919%29%20345-1021> Fax: (919) 882-8602 <tel:%28919%29%20882-8602> mar...@ni... www.nimbisservices.com ---------------------------------------------------------------------------- -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Jython-users mailing list Jyt...@li... https://lists.sourceforge.net/lists/listinfo/jython-users |