wiki:Source code

Source code

This page contains information about the source code and compilation steps.

Knowledge of Java is not necessary, some portions of the code are explained in comments. You can inspect single files over the web frontend at svn (or browser).

Get the source

  • From the official Subversion repository (recommended if you're interested in JOSM core only):
    svn co josm
  • From the former OSM Subversion repository (recommended if you're also interested in plugins):
    svn co
  • JMapViewer from the former OSM Subversion repository
    svn co

Compile source code

Compiling using Ant

The easiest way to compile JOSM, provided OpenJDK and Ant on your machine are properly set up, is to go to the josm directory and type:

ant clean dist

That will create a dist/josm-custom.jar file if successful.

Compiling using IDE


Last modified 11 months ago Last modified on 2022-02-23T16:02:55+01:00