Changes between Version 5 and Version 21 of Source code


Ignore:
Timestamp:
(multiple changes)
Author:
(multiple changes)
Comment:
(multiple changes)

Legend:

Unmodified
Added
Removed
Modified
  • Source code

    v5 v21  
    1 This [wiki:Portals portal] is about source code and compilation steps.
     1[[TranslatedPages]]
     2= Source code =
    23
    3 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]).
     4This page contains information about the source code and compilation steps.
     5
     6Knowledge 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 [source: web browser]).
    47
    58
    6 == Get the source ==
     9== Get the source ==#Getthesource
    710
    811   * From the official Subversion repository (recommended if you're interested in JOSM core only):
     
    1114svn co https://josm.openstreetmap.de/svn/trunk josm
    1215}}}
    13    * From the official OSM 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):
    1417{{{
    1518#!sh
    16 svn co https://svn.openstreetmap.org/applications/editors/josm
     19svn co https://josm.openstreetmap.de/osmsvn/applications/editors/josm
    1720}}}
    18    * From the unofficial [https://github.com/openstreetmap/josm GitHub mirror]:
     21   * JMapViewer from the former OSM Subversion repository
    1922{{{
    2023#!sh
    21 git clone git://github.com/openstreetmap/josm.git
     24svn 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
     30git 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.
     35mkdir josm && cd josm
     36git clone git://github.com/JOSM/josm-plugins.git plugins
     37# This is needed for building most plugins.
     38git clone https://github.com/JOSM/josm.git core
     39ln -s core/tools plugins/00_core_tools
     40ln -s core/test/lib plugins/00_core_test_lib
     41ln -s core/test/config plugins/00_core_test_config
    2242}}}
    2343
    2444== Compile source code ==
    25 === Compiling using Ant ===
    26 The easiest way to compile JOSM, provided [https://www.java.com/en/download/faq/develop.xml Java JDK] 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
     46The 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:
    2747
    2848{{{
    2949#!sh
    30 ant
     50ant clean dist
    3151}}}
    3252
    3353That will create a `dist/josm-custom.jar` file if successful.
    3454
    35 === Compiling using IDE ===
    36 → [[DevelopersGuide/Compiling]]
     55=== Compiling using IDE & running tests ===
     56→ [[wikitr:/DevelopersGuide/Compiling]]