From: Nick O. <n....@us...> - 2003-05-24 14:45:22
|
I can see two ways to go with this. (1) a jython-specific approach tightly integrated with the Eclipse Java environment (2) a python-neutral, separate environment (like CDT) supporting any Python that understands pdb. Personally, I would use both. My take would be to start with ((2)) and then tackle ((1)). ((2)) would have the support and interest of a wider community while at the same time being able to demonstrate a significant amount of Eclipse/Jython/Java sizzle. ((1)) would have additional capabilities like setting both Java and Jython breakpoints in the same process. I see this as being harder, but perhaps someone with more Eclipse-Java insight will see a Jython extension as being easier. As others have observed, significant pieces of this are already at large. PythonEclipse has a nice syntax-aware editor; Don Coleman has published a code-completing Jython shell (that appears to be portable to Python in general); several examples of gui-based pdb wrappers exist. I intend to invest some time in this, mostly because none of the commercial packages do everything I'm looking for (especially since PythonWare has been withdrawn from the market). n ps: vi keybindings in the editor is my dream as well... -- Nick Okasinski n.koi@NO_SPAM.usa.net ----- Original Message ----- From: Cary_Coulter <Cary_Coulter@ho...> Re: Eclipse and Jython/Python 2003-05-14 03:46 FYI, my wsad 5 install contains a jython.jar in the websphere 5 server lib directory. Haven't used it yet, but I intend to. I'm just getting started with jython and I'm excited about it. Been using Python for 3+ years and I love it. Coding in Java because that is what work does. I hope to integrate Jython in non-production stuff (testing, continuous build, etc.) at first and then introduce it slowly to web apps. I'd be very happy to see eclipse and wsad move to python friendly environment (editor/debugger). (But then I'd like VI key bindings for the editor too). Cary ----- Original Message ----- From: "Frank Cohen" <fcohen@pu...> To: "Kevin Altis" <altis@se...> Cc: <jython-users@li...> Sent: Monday, May 12, 2003 10:27 PM Subject: Re: [Jython-users] Eclipse and Jython/Python > Hi Kevin: Glad to provide you with the great info. PushToTest is myself > fulltime, 3 engineers parttime, about 20 contributors to the > open-source project, and approximately 35,000 users. I am available > for contracts, as are the rest of the team. I'd be happy to help you > and IBM. > > By the way, I'm published on IBM developerWorks about 6 times now - > with 3 more articles on the way - if that will help you with your IBM > contact. :-) If you want to see what I've done with Jython and > WebSphere look at my new book "Automating Web Tests using TestMaker" at > http://www.pushtotest.com/ptt/books/awtbook.html. > > -Frank > > > > On Friday, May 9, 2003, at 11:13 AM, Kevin Altis wrote: > > > Frank, this is great info! The other project I want to raise at IBM is > > embedding Jython into WebSphere and that sounds even more in line with > > what > > you're already doing. I was going to hold off on the WebSphere idea > > until > > the Eclipse integration got started and I had a better contact inside > > IBM. > > However, I think as of next Wednesday I may have the right contact, so > > any > > ideas along that front would be quite welcome. Maybe that would have > > more > > benefit for your core business? Is PushToTest just you or do you have a > > team? > > > > Keep in mind that my underlying motivation for pushing the > > Jython/Python > > integration with Eclipse and WebSphere is to raise the visibility of > > Python > > inside IBM. I would very much like IBM within the next couple of years > > to > > step behind Python in a big way just like they did for Apache and > > Java. That > > is a long term goal, but that's my thinking. > > > > ka > > --- > > Kevin Altis > > altis@se... > > 503-236-9533 > > http://altis.pycs.net/ > > http://www.pythoncard.org/ > > > >> -----Original Message----- > >> From: jython-users-admin@li... > >> [mailto:jython-users-admin@li...]On Behalf Of Frank > >> Cohen > >> Sent: Friday, May 09, 2003 8:54 AM > >> To: jython-users@li... > >> Subject: Re: [Jython-users] Eclipse and Jython/Python > >> > >> > >> Hi Kevin: Thanks for the update. I've been embedding Jython in my > >> TestMaker open-source project for the past year with great success. > >> (Details at http://www.pushtotest.com.) TestMaker is built on > >> NetBeans. > >> NB provides the GUI elements, file navigator and a good script editor. > >> In addition to writing test agents in Jython the scripting language > >> can > >> access all of NB's objects. So a by-product is that NB gets its own > >> script/macro language. Eclipse would benefit in the same way. Plus, in > >> my opinion Eclipse is becoming bloated with so many disparate plug-ins > >> that it needs a script language to show some synergy between the > >> plug-ins. > >> > >> Here's what I think would be involved with adding Jython to Eclipse: > >> 1) Embed the Jython interperter (very easy) > >> 2) Write a simple support object in Java that provides a gateway to > >> the > >> Eclipse APIs. > >> 3) Write Jython syntax highlighting and code lookup (not easy in > >> Eclipse) > >> 4) Write 5-10 sample Jython scripts that demonstrate the Eclipse > >> environment and how to call Eclipse APIs. > >> 5) Write an article for IBM developerWorks explaining the project, > >> benefits and tutorial. > >> 6) Write a book: Jython on Eclipse for SAMS (well maybe I'm getting > >> carried away. hehe) > >> > >> None of this is particularly difficult, but it does take a lot of > >> time. > >> I'm overcommitted to PushToTest.com projects, but I would like to > >> help. > >> If someone else wants to take on the code writing I would be available > >> to write the supporting articles and docs. > >> > >> -Frank > >> > >> > >> > >> On Wednesday, May 7, 2003, at 03:55 PM, Kevin Altis wrote: > >> > >>>> From: Updike, Clark > >>>> > >>>> Would you mind updating the jython-user list with a post regarding > >>>> the > >>>> status of your efforts to-date to start up a jython plug-in for > >>>> eclipse with > >>>> the eclipse folks? It seems like there is a lot of interest at > >>>> the moment. > >>>> > >>>> TIA, > >>>> Clark > >>> > >>> Last week quite a few Jython users sent me replies (some privately > >>> and > >>> some > >>> to the list) expressing interest in Jython/Python/Eclipse > >>> integration. > >>> [Rather than repeatedly saying Jython/Python below I'll just say > >>> Jython, but > >>> many of the issues are also applicable to C Python.] Those ideas need > >>> to be > >>> discussed on the mailing list and captured on one or more web pages. > >>> To > >>> start the process, I went ahead and created a wiki page on python.org > >>> as a > >>> placeholder. Please add to the page. > >>> > >>> http://www.python.org/cgi-bin/moinmoin/EclipsePythonIntegration > >>> > >>> I talked to Paul Buck, Director of Eclipse Development at IBM last > >>> Friday. > >>> The call went extremely well. Paul said that he thought full Jython > >>> support > >>> was a good idea, but he could not commit his team or other IBM > >>> employees at > >>> this time to do the work. OTOH, he was willing to create a Jython > >>> Eclipse > >>> sub-project and have his team provide technical support and > >>> information to > >>> whoever heads up the project. The C/C++ Development Tools sub-project > >>> might > >>> be a good example to follow. > >>> > >>> http://www.eclipse.org/cdt/ > >>> > >>> The overall tone of the conversation was one of eagerness to help > >>> facilitate > >>> making it happen, but at this early stage he couldn't commit any of > >>> his team > >>> members to writing code for it. He was also interested in embedding > >>> Jython, > >>> though he was not that familiar with Jython. > >>> > >>> The issue was raised about how much interest there was for this > >>> project both > >>> for Jython users and existing Eclipse users. I said that there was a > >>> high > >>> interest level on the Jython side of the fence but that many > >>> Java/Eclipse > >>> users might not be familiar with Jython or Python or understand the > >>> value of > >>> Jython support in Eclipse, so we probably need to get at least a > >>> rough > >>> first > >>> pass done for the benefits to be more obvious. At that time, IBM > >>> might > >>> want > >>> to commit some of its own resources to furthering the project. > >>> > >>> Paul asked if I would be interested in taking the technical lead to > >>> make it > >>> happen. I declined because I don't have the right skill set, but I > >>> said I > >>> would try and find one or more people to get the project started. Any > >>> volunteers? I emailed Paul links for more info on Jython as well as > >>> the two > >>> projects I could find that are relevant. We need to know the current > >>> state > >>> of the two projects below as well as any other Eclipse/Jython > >>> projects > >>> I > >>> might have missed. > >>> > >>> PyEclipse is a Python plugin for the Eclipse platform > >>> http://sourceforge.net/projects/pyeclipse/ > >>> > >>> Python Editor for Eclipse (Pe4elcipse) is an Eclipse platform plugin > >>> for > >>> editing and debugging Python applications. > >>> http://sourceforge.net/projects/pe4eclipse > >>> > >>> After my phone call with Paul, I talked to Jim Hugunin at Xerox PARC. > >>> Jim > >>> also said that he thought Jython integration and full Jython support > >>> inside > >>> Eclipse was a great idea, but he stressed the need for a lead > >>> developer to > >>> make it happen and said that due to other research commitments, he > >>> was > >>> unable to participate. > >>> > >>> Samuele Pedroni sent me a detailed list of issues and ideas offlist. > >>> I'll > >>> let him repost those to the list and wiki rather than taking his > >>> points out > >>> of context. > >>> > >>> I don't think I could have hoped for a better first conversation with > >>> Paul. > >>> If we want this to happen, the ball is in our court and one or more > >>> volunteers can take it to the next level. > >>> > >>> ka > >>> > >>>> ref: > >>>> http://sourceforge.net/mailarchive/forum.php?thread_id=2044937&for > >>>> um_id=5586 > >>>> > >>>> -----Original Message----- > >>>> From: Kevin Altis [mailto:altis@se...] > >>>> Sent: Sunday, April 27, 2003 3:14 PM > >>>> To: jython-users@li... > >>>> Subject: [Jython-users] Eclipse and Jython/Python > >>>> > >>>> > >>>> I would like to hear from anyone ASAP that is using Eclipse or > >>>> would like to > >>>> use Eclipse with Python/Jython. > >>>> > >>>> http://www.eclipse.org/ > >>>> > >>>> I think it would be great to get full syntactic support for > >>>> Jython/Python > >>>> and have Jython embedded into Eclipse. Since Jim Hugunin is > >>>> listed as one of > >>>> the Eclipse sub-project leads I figure at least some people involved > >>>> with > >>>> Eclipse might be sympathetic to this idea, but I have not been > >>>> able to reach > >>>> Jim yet, so I don't know what he thinks. > >>>> > >>>> http://www.eclipse.org/technology/team-leaders.html > >>>> > >>>> I have arranged a brief phone call with Paul Buck, Director of > >>>> Eclipse > >>>> Development at IBM on Friday, May 2nd to discuss the idea. > >>>> > >>>> http://conferences.oreillynet.com/cs/os2003/view/e_spkr/1529 > >>>> > >>>> I would appreciate feedback before Thursday, May 1st if you would > >>>> like to > >>>> see this happen. In particular, I need a specific list of benefits > >>>> to > >>>> Java > >>>> and Jython/Python programmers if they had full Jython/Python > >>>> syntax support > >>>> and the ability to use Jython from with Eclipse. I have some > >>>> general benefit > >>>> points, but I don't program in Java day-to-day so people on this > >>>> list should > >>>> be able to give me better specifics. > >>>> > >>>> Thanks, > >>>> > >>>> ka > >>>> --- > >>>> Kevin Altis > >>>> altis@se... > >>>> http://altis.pycs.net/ > >>>> http://www.pythoncard.org/ > >>> > >>> |