Re: [josm-dev] Relative links in preferences.xml

2014-05-04 Thread Paul Hartmann
On 03.05.2014 14:16, Alex Rollin wrote: Hello, I am trying to distribute JOSM with the HDM Presets and Paint Styles for offline survey. That means I can't rely on JOSM to be able to pull the presets down, and links should be relative so that they work no matter where a user places the JOSM

Re: [josm-dev] Relative links in preferences.xml

2014-05-04 Thread Dirk Stöcker
On Sun, 4 May 2014, Paul Hartmann 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

Re: [josm-dev] Relative links in preferences.xml

2014-05-04 Thread Dirk Stöcker
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

Re: [josm-dev] Relative links in preferences.xml

2014-05-04 Thread Alex Rollin
Hi! I tried editing the jar but my rezipped and renamed jar throws a corrupted file error :( Thank you very much for the change in 7058. How can I download this and test it? Also, your idea about the start page is great, but when I looked through advanced settings I couldn't find any

[josm-dev] Relative links in preferences.xml

2014-05-03 Thread Alex Rollin
Hello, I am trying to distribute JOSM with the HDM Presets and Paint Styles for offline survey. That means I can't rely on JOSM to be able to pull the presets down, and links should be relative so that they work no matter where a user places the JOSM directory. I really want to make a folder

Re: [josm-dev] Relative links in preferences.xml

2014-05-03 Thread colliar
Hi Alex On Linux I would simply copy the preference folder (.josm) but you seem to be on Windows. I am not really sure but I thought on Windows all josm related files are in a folder and its subfolder. On Linux I have an extra subfolder plugins and styles/presets are in the subfolder cache.

Re: [josm-dev] Relative links in preferences.xml

2014-05-03 Thread Dirk Stöcker
On Sat, 3 May 2014, Alex Rollin wrote: I am looking at the preferences.xml file and I cannot figure out how to put in a relative link. I see only absolute links like C:Users/blahblah/Desktop/josm/etc/HDM.xml See:

[josm-dev] Relative links in preferences.xml

2014-05-03 Thread Alex Rollin
so maybe i should.check to see if these will autoload if they are in the cache folder? plugins autoload just fine it seems. Yes, I would like a relative to JOSM directory. I know Kate asked this question on this list a year ago and I talked to Maning in Philipines too. Maning and I both are