BrianZimmer, incept: 2005-01-31

This is an introduction to developing Jython, just to get someone started. It doesn't cover the source code in any depth or discuss the design behind Jython. It's purely aimed at getting a development environment set up. It's definitely not complete so feel free to make it better!

SVN

Ant

Tests

Here's a batch file that runs the built jython.jar (for windows): Anchor(sampleBatch)

:: jytip.bat
@echo off
set ARGS=

:: concatenate all the command line args into one
:loop
if [%1] == [] goto end
        set ARGS=%ARGS% %1
        shift
        goto loop
:end

:: this is mine...
:: java -Dpython.home=C:\\workspace\\JythonTip\\jython\\dist -jar 
::<cont> c:\workspace\JythonTip\jython\dist\jython.jar %ARGS%
:: fill in <placeholders> below:
java -Dpython.home=<path to dist directory>\\dist -jar <path to dist directory>\dist\jython.jar %ARGS%

On Unix you can use a shell script:

exec java -Dpython.home=<path>/dist/ -jar <path>/dist/jython.jar $*

Now you're ready to run tests...

Directory layout Note the following describes the current trunk. If you are working from an older tag, src doesn't exist and src/com and src/org are moved up a level.

Coding Guidance

Other Stuff