Search:
Login
Preferences
Help/Guide
About Trac
Register
Forgot your password?
Wiki
Timeline
Changelog
Browse Source
View Tickets
New Ticket
Roadmap
Builds
Sonar
Search
Context Navigation
+0
Start Page
Index
History
Editing Source code
Adjust edit area height:
8
12
16
20
24
28
32
36
40
Edit side-by-side
[[TranslatedPages]] = 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 ==#Getthesource * From the official Subversion repository (recommended if you're interested in JOSM core only): {{{ #!sh svn co https://josm.openstreetmap.de/svn/trunk josm }}} * From the former OSM Subversion repository (recommended if you're also interested in plugins): {{{ #!sh svn co https://josm.openstreetmap.de/osmsvn/applications/editors/josm }}} * JMapViewer from the former OSM Subversion repository {{{ #!sh svn co https://josm.openstreetmap.de/osmsvn/applications/viewer/jmapviewer/ }}} * If the old URL https://svn.openstreetmap.org/applications/editors/josm is used, then go to the working copy and call {{{svn relocate}}} with the new URL. * From the unofficial [https://github.com/openstreetmap/josm GitHub mirror]: {{{ #!sh git clone git://github.com/openstreetmap/josm.git }}} == Compile source code == === Compiling using Ant ===#CompilingusingAnt The easiest way to compile JOSM, provided [https://adoptopenjdk.net/ OpenJDK] and [https://ant.apache.org/ Ant] on your machine are properly set up, is to go to the {{{josm}}} directory and type: {{{ #!sh ant clean dist }}} That will create a `dist/josm-custom.jar` file if successful. === Compiling using IDE === → [[DevelopersGuide/Compiling]]
Note:
See
WikiFormatting
and
TracWiki
for help on editing wiki content.
Change information
Your email or username:
E-mail address and name can be saved in the
Preferences
Comment about this change (optional):
Note:
See
TracWiki
for help on using the wiki.