Re: [josm-dev] Common presets for OSM editors?

2015-06-22 Thread Daniel Koć
W dniu 22.06.2015 17:30, Dirk Stöcker napisał(a): On Mon, 22 Jun 2015, Daniel Koć wrote: And I'm still curious why JOSM developers didn't like the idea and if there's a possibility to reconsider it? There are many reasons, small and larger ones, but most of them result in the fact that no

Re: [josm-dev] Common presets for OSM editors?

2015-06-22 Thread Dirk Stöcker
On Mon, 22 Jun 2015, Daniel Koć wrote: And I'm still curious why JOSM developers didn't like the idea and if there's a possibility to reconsider it? There are many reasons, small and larger ones, but most of them result in the fact that no editor development team wants to give up their own

Re: [josm-dev] Common presets for OSM editors?

2015-06-22 Thread Ian Dees
I created a repo to keep track of this here: https://github.com/osmlab/editor-presets I understand Dirk and the JOSM team's position, so let's stop clogging up their inboxes and take further discussion to tickets on this repo? To get started, I like your suggestion, Daniel; let's start with the

[josm-dev] unit testing and functional testing of plugins

2015-06-22 Thread Jo
Hi, For some peace of mind and to avoid regression, while boldly adding functionality, I'd like to encourage the student I'm mentoring to write tests for the Mapillary plugin. I found this folder, which contains tests: https://josm.openstreetmap.de/browser/josm/trunk/test Do tests which test a

Re: [josm-dev] unit testing and functional testing of plugins

2015-06-22 Thread Jo
I updated the wiki: https://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins Merci! Jo 2015-06-22 11:53 GMT+02:00 Vincent Privat vincent.pri...@gmail.com: Hi, Good initiative. Tests are always welcome. To add new unit tests, look at those existing plugins: - alignways -

[josm-dev] debugging plugins

2015-06-22 Thread Jo
Hi, When one develops a plugin for JOSM, the compiled jar file is used. That is quite convenient, but it seems to make it impossible to run a debugger from Eclipse on the code of the plugin. One can always print messages to the console, but the ability to work with breakpoints and such is

Re: [josm-dev] debugging plugins

2015-06-22 Thread Jo
That's great! Many thanks, Jo 2015-06-22 12:05 GMT+02:00 Malcolm Herring malcolm.herr...@btinternet.com: On 22/06/2015 10:54, Vincent Privat wrote: Yes it is possible. Simply add the Eclipse project of your plugin to the list of projects being used to search for sources in your debug

Re: [josm-dev] debugging plugins

2015-06-22 Thread Vincent Privat
Yes it is possible. Simply add the Eclipse project of your plugin to the list of projects being used to search for sources in your debug configuration. Cheers, Vincent 2015-06-22 10:24 GMT+02:00 Jo winfi...@gmail.com: Hi, When one develops a plugin for JOSM, the compiled jar file is used.

Re: [josm-dev] unit testing and functional testing of plugins

2015-06-22 Thread Vincent Privat
Hi, Good initiative. Tests are always welcome. To add new unit tests, look at those existing plugins: - alignways - elevation - graphview - opendata - turnrestrictions - wikipedia and copy the same arborescence. Please take care of SVN properties (externals and ignore). Then add your plugin to

Re: [josm-dev] debugging plugins

2015-06-22 Thread Malcolm Herring
On 22/06/2015 10:54, Vincent Privat wrote: Yes it is possible. Simply add the Eclipse project of your plugin to the list of projects being used to search for sources in your debug configuration. Also, in Debug Configurations set Main class to JOSM

Re: [josm-dev] Common presets for OSM editors?

2015-06-22 Thread Daniel Koć
W dniu 19.06.2015 19:39, Richard Fairhurst napisał(a): I'd be keen to do so. Last year P2 adopted the editor-imagery-index which Ian devised, and I don't see any reason not to do the same with tag presets. The one proviso is that sharing tag presets will be a bunch more complicated than