| 195 | | === Windows josm.exe ===#Mswindowswrapper |
| 196 | | |
| 197 | | Using josm-setup.exe for installation on Microsoft Windows does the following: |
| 198 | | * Puts the files `josm-tested.jar` and `josm.exe` in directory chosen by the user, default is `C:\Program Files (86)\JOSM\` |
| 199 | | * Suggests to register josm.exe as target for the file extensions `*.osm` and `*.gpx`. |
| 200 | | * Suggests to place JOSM shortcut icons on the Desktop and in the Start Menu (Currently they are placed for an admin [ticket:11398 only] and can be copied from there). |
| 201 | | * Asks if the Plug-Ins Imagery offset database and Turn restrictions should be provided. |
| 202 | | * Adds uninstall data at the appropriate places. |
| 203 | | |
| 204 | | 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`. |
| 205 | | Josm.exe acts as a ''wrapper'' and is [wikitr:/USB_Stick portable]. |
| 206 | | |
| 207 | | 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: |
| | 195 | === josm.exe в Windows ===#Mswindowswrapper |
| | 196 | |
| | 197 | При установке через josm-setup.exe в Microsoft Windows происходит следующее: |
| | 198 | * Файлы `josm-tested.jar` и `josm.exe` помещаются в выбранный пользователем каталог, по умолчанию в `C:\Program Files (86)\JOSM\` |
| | 199 | * Предлагается связать josm.exe с расширениями файлов `*.osm` и `*.gpx`. |
| | 200 | * Предлагается поместить значки ярлыков JOSM на рабочий стол и в меню Пуск (В настоящее время они размещаются [ticket:11398 только] для администратора и их можно скопировать оттуда). |
| | 201 | * Задаётся вопрос о необходимости установки модулей Imagery offset database и Turn restrictions. |
| | 202 | * Добавляются данные, необходимые для деинсталляции JOSM, в нужные места. |
| | 203 | |
| | 204 | При запуске josm.exe ищет jar-файл в своём каталоге и выполняет команду `\path\to\javaw.exe -Xms128m -Xmx1024m -jar \path\to\josm-tested.jar`. |
| | 205 | Josm.exe работает как ''обёртка'' и является [wikitr:/USB_Stick переносимым]. |
| | 206 | |
| | 207 | Если josm.exe обнаруживает аргумент `--l4j-debug`, он пишет в файл журнала `launch4j.log` в текущем каталоге, если имеется возможность записи в него. 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: |