[josm-dev] few questions about plugin development

Sebastian Klein bastikln at googlemail.com
Wed May 5 17:44:56 BST 2010


Hi Matthias,

Matthias Meißer wrote:
> Hi, just a few questions concerning about JOSM plugin development:
> 
> Why is my main menu entry 'video' translated to 'Videoverleih' even if I 
> don't use tr() ?

Menu entries are translated by default. Use can use 
marktrc("videomapping", "video") to mark your string for translation and 
set a different context.

> How can I debug my plugin? I tried to append to a JOSM process but this 
> doesn't seem to work :(

What's wrong with System.err.println(...)? ;)

I don't know what debugger you are using.

> How can I upload my plugin to SVN without publish it immediately cause 
> it is work in progress?

The plugin won't be in the public list until you manually commit the 
*.jar file into the josm/dist folder. There are no nightly builds for 
plugins.

__

Sebastian (looking forward to his first video mapping session)




More information about the josm-dev mailing list