Changes between Version 10 and Version 20 of Source code
- Timestamp:
- (multiple changes)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Source code
v10 v20 1 1 [[TranslatedPages]] 2 = Source code = 3 2 4 This page contains information about the source code and compilation steps. 3 5 … … 5 7 6 8 7 == Get the source == 9 == Get the source ==#Getthesource 8 10 9 11 * From the official Subversion repository (recommended if you're interested in JOSM core only): … … 12 14 svn co https://josm.openstreetmap.de/svn/trunk josm 13 15 }}} 14 * From the officialOSM Subversion repository (recommended if you're also interested in plugins):16 * From the former OSM Subversion repository (recommended if you're also interested in plugins): 15 17 {{{ 16 18 #!sh 17 svn co https:// svn.openstreetmap.org/applications/editors/josm19 svn co https://josm.openstreetmap.de/osmsvn/applications/editors/josm 18 20 }}} 19 * From the unofficial [https://github.com/openstreetmap/josm GitHub mirror]:21 * JMapViewer from the former OSM Subversion repository 20 22 {{{ 21 23 #!sh 22 git clone git://github.com/openstreetmap/josm.git 24 svn co https://josm.openstreetmap.de/osmsvn/applications/viewer/jmapviewer/ 25 }}} 26 * 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. 27 * From the unofficial [https://github.com/JOSM/josm GitHub mirror]: 28 {{{ 29 #!sh 30 git clone https://github.com/JOSM/josm.git 31 }}} 32 * From the unofficial [https://github.com/JOSM/josm-plugins josm-plugins GitHub mirror]: 33 {{{#!sh 34 # We are effectively replicating the directory hierarchy of the JOSM svn repository so that the plugins can be built. 35 mkdir josm && cd josm 36 git clone git://github.com/JOSM/josm-plugins.git plugins 37 # This is needed for building most plugins. 38 git clone https://github.com/JOSM/josm.git core 39 ln -s core/tools plugins/00_core_tools 40 ln -s core/test/lib plugins/00_core_test_lib 41 ln -s core/test/config plugins/00_core_test_config 23 42 }}} 24 43 25 44 == Compile source code == 26 === Compiling using Ant === 27 The easiest way to compile JOSM, provided [https:// www.java.com/en/download/faq/develop.xml JavaJDK] and [https://ant.apache.org/ Ant] on your machine are properly set up, is to go to the {{{josm}}} directory and type:45 === Compiling using Ant ===#CompilingusingAnt 46 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: 28 47 29 48 {{{ … … 34 53 That will create a `dist/josm-custom.jar` file if successful. 35 54 36 === Compiling using IDE ===55 === Compiling using IDE & running tests === 37 56 → [[DevelopersGuide/Compiling]]