From J Wiki
Jump to: navigation, search
User Guide | Development Categories Versions | SVN | Build Log

The scripts and other non-executable files included in the J distribution form the base library, and the most recent source can be obtained from the J subversion server.

To get the base library source, check it out to any directory, away from the main J directory. For example:

svn co c:\base

In J, make a new folder name, Source, that points to the base library source directory. For example:

  jpath '~Source'

You can now access the source from the Project Manager.

Building Source

In J, make a new folder name, System, that points to the base library target directory. This can be your J directory if you want the build to overwrite existing scripts. If necessary, back up your system first.

Most source projects are self-contained and can be built by clicking the Build button in Project Manager.

The Plot and Grid projects have multiple source projects. To build either, build the corresponding save project, e.g. plot/base/save.

To build all projects, go to project ~Source\build\build and click the Build button. Alternatively, enter:

loadp '~Source\build\build\build.ijp'


Users can request write access to the base library source, and you are free to make changes that you think are appropriate. Also, some distributed scripts and labs are provided by users, and they can use the repository to update their files.

If you would like write access to the base library, contact the subversion repository maintainer.

Trunk and Branches

The repository trunk is the current development code.

Releases are copied to branches, e.g. branch/j601, and updated with any changes specific to those branches, typically only bug fixes.

Versions within releases are copied to tags, e.g. tags/j601a, tags/j601b etc.

If you are making several changes to the system and are not yet finished, please create your own branch of the repository and save your changes there.