On Sun, 4 May 2014, Dirk Stöcker wrote:

 Yes, it is a good idea to support paths relative to the JOSM preferences
 directory and relative to the JOSM cache directory, but I don't think this
 is possible at the moment.

We could add an URI "josmdir://" in MirroredInputStream. Easy and straighforward.

In

https://josm.openstreetmap.de/changeset/7058/josm

Works like a charm, at least in my first test :-)

Note: For an offline tool it is probably a good idea to replace some of the automatic links as well, e.g. the startup page could point to a local HTML file telling "Offline version of HOT project" or something like this. Same for plugins, presets, maps, ...

Most of these should already be configurable in advanced prefs. If any are missing, simply ask.

Ciao
--
http://www.dstoecker.eu/ (PGP key available)
_______________________________________________
josm-dev mailing list
josm-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/josm-dev

Reply via email to