This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
This java application generates a JPython/Jython console, i.e. a java window containing an interactive jpython shell. It is modeled after the JPython Console swing demo, but written in 100% java, so that is it easy to embed in java applications and applets. The only documentation available is the code itself. I have begun implementing most of the standard keymaps for history access and command completion. The code is under active development; the latest version has been tested under jython 2.0 only.
The latest version of SPyConsole is available at:
ftp://iee.umces.edu/SME3/JConsole/SPyConsole.zip
If you have ANT installed (http://www.jakarta.apache.org/ant), you can build the project by running ANT in the project directory (the project directory is the directory that contains the build.xml file).
>ant
You can also build the project directly from the command line with the following commands (executed from the project directory, of course):
> mkdir classes > javac -d classes src\spyconsole\*.java
To run SPyConsole, ensure that the spyconsole\classes directory is in your CLASSPATH (Jython needs to be in your CLASSPATH also). The type:
> java spyconsole.SPyConsolePlease send bug reports and enhancements to maxwell@cbl.umces.edu.