Developer's Area

BeanShell Developer's Area


This section holds information and resources for BeanShell developers.

GitHub Access

The latest code is always available from GitHub. To check out a copy use the git command like so:

    git clone https://github.com/beanshell/beanshell
                

You can report issues and other access other services through GitHub.

The BeanShell Source Code

The source distribution contains a brief Map to the Source Code outlining the major files of the bsh package. It also contains the BeanShell Test Suite

To compile all of the modules in the BeanShell distribution requires Java version 1.5+, however BeanShell itself is backwards compatible with Java version 1.1. The Ant build file has properties which can be adjusted to exclude building modules requiring Java versions 1.2, 1.3, or external APIs such as the servlet API, BSF, and javax.script. Development versions now use maven.

If you want to change the core BeanShell grammar you will also need the open source JavaCC parser generator.

Release 2.0b4 (Legacy)

Source Snapshot - bsh-2.0b4-src.jar

The BeanShell Test Suite

A language is a complex and deeply intertwined thing. The BeanShell Test Suite is a critical part of the development process that allows us to test changes in a comprehensive way. Often, what seems like a small change can have an unexpected impact on another part of the language. The test suite started as of a simple test harness script and about 120 test files: we currently use both junit and bsh test scripts. You can help by adding new scripts and improving or documenting the ones that are there. We especially need more complex environment related scripts to cover areas such as web applications, class reloading, etc.

Developer's List

We used to have a developer's mailing list.