Sunday, 26 October 2008

Console4jython

I have always been interested in starting a Open Source project on Sourceforge. I had once tried to join an existing project and be a contributor, but my work and other commitments do not let me follow a tight schedule for this kind of work.

A few months back when I was actively using Jython in my work,I realized that I could use the help of a small console that let me run commands from an interactive shell and let me save that history as a script. Another thing that troubled me was that after years of using Eclipse I was addicted to the intellisense.

So I set out to build such a console for myself - I did not bother to check if such a think already existed because I wanted to use this as a chance to build an open source tool of my own. So with a few days of effort I had a tool - Console4Jython - that I promptly put on Sourceforge.

Over the last few months whenever I have nothing to do I code a bit for this and have just released the 1.0.6beta version of it. It provides

1. A interactive shell in a SWING console
2. A command history
3. Code completion - nothing like Eclipse but it can show you all the methods on a Jython object
3. You can clear the screen
4. You can save the command history as a script
5. You can load a script and it will be executed
6. A bare bones editor from which you can run the script
7. You can run a script file by saying "exec [filename]"
8. You can specify a bootstrap script file
9. You can generate a wrapper script for any Java class with "parseclass [classname]"
10. You can generate the wrapper scripts for classes in a jar file with "parsejar [jarfile name] [package filter]"

Have a look at it, and if you like it - please let me know!

0 comments: