Changes between Version 179 and Version 180 of Download


Ignore:
Timestamp:
2021-10-19T23:50:06+02:00 (4 years ago)
Author:
Don-vip
Comment:

#21411 - Rework the description of josm.exe

Legend:

Unmodified
Added
Removed
Modified
  • Download

    v179 v180  
    212212=== Windows josm.exe ===#Mswindowswrapper
    213213Using josm-setup.exe for installation on Microsoft Windows does the following:
    214  * Puts the files `josm-tested.jar` and `josm.exe` in directory chosen by the user, default is `C:\Program Files (86)\JOSM\`
    215  * Suggests to register josm.exe as target for the file extensions `*.osm` and `*.gpx`.
    216  * Suggests to place JOSM shortcut icons on the Desktop and in the Start Menu (Currently they are placed for an admin only and can be copied from there, #11398).
    217  * Asks if the Plug-Ins Imagery offset database and Turn restrictions should be provided.
     214 * Puts two executable files `JOSM.exe` and `HWConsole.exe` in directory `%LOCALAPPDATA%\JOSM`
     215 * Registers JOSM.exe as target for the file extensions `*.osm`, `*.geojson`, `*.gpx`, `*.jos` and `*.joz`.
     216 * Places JOSM shortcut icons on the Desktop and in the Start Menu.
    218217 * Adds uninstall data at the appropriate places.
    219218
    220 When starting, josm.exe searches its directory for the jar file and runs the command `\path\to\javaw.exe -Xms128m -Xmx1024m -jar \path\to\josm-tested.jar`.
    221 Josm.exe acts as a ''wrapper'' and is [wikitr:/USB_Stick portable].
    222 
    223 When josm.exe finds the argument `--l4j-debug`, it writes the log file `launch4j.log` into the current directory if that is writeable. Some other [http://launch4j.sourceforge.net/docs.html#Runtime_options options] are possible and all usual [wikitr:/Help/CommandLineOptions#Programarguments JOSM Program arguments] too. See example:
     219When starting, JOSM.exe starts JOSM with an embedded version of Java maintained by JOSM developers, based on Azul Zulu.
     220JOSM.exe acts as a ''wrapper'' and is [wikitr:/USB_Stick portable].
     221
     222HWConsole.exe is similar to JOSM.exe but start JOSM while keeping open a Windows console displaying JOSM standard output (logs).
     223
     224JOSM.exe accepts all usual [wikitr:/Help/CommandLineOptions#Programarguments JOSM Program arguments]. See example:
    224225
    225226{{{
    226227#!sh
    227 # Write a log while starting JOSM and load OSM data
    228 josm.exe --l4j-debug https://www.osm.org/way/476702262
    229 }}}
    230 
    231 For giving [wikitr:/Help/CommandLineOptions#Javaoptions Java options] to the Java VM josm.exe uses the optional file `josm.l4j.ini` in its directory. In this file each option needs a separate line and comments are possible, see [http://launch4j.sourceforge.net/docs.html#Additional_jvm_options Additional JVM options].
    232 
    233 While being a 32-bit program, josm.exe needs a 64-bit Java on a 64-bit Windows.
    234 Currently josm.exe is [/browser/josm/trunk/windows/launch4j.xml configured] to search for java in the [https://sourceforge.net/p/launch4j/feature-requests/127/ registry only] and to
    235 prefer JRE's.
    236 
     228# Load OSM data
     229josm.exe https://www.osm.org/way/476702262
     230}}}
     231
     232For giving [wikitr:/Help/CommandLineOptions#Javaoptions Java options] to the Java VM JOSM.exe uses the configuration file `JOSM.cfg` in its app sub-directory. In this file each option needs a separate line.
    237233
    238234=== macOS ===#macOS