[josm-dev] restart JOSM

Dirk Stöcker openstreetmap at dstoecker.de
Thu Dec 10 14:56:57 GMT 2009


On Thu, 10 Dec 2009, Dieter Muecke wrote:

> Instead of restarting JOSM by hand after plugin update the code snippet 
> below does it programmatically. It works on Mac OSX but before I submit 
> a patch I would like know how do the same on Windows and Linux.

Why do you want restarting JOSM after plugin update?

The plugin update on startup is done before loading the plugins, so 
already the new plugins are loaded.

And in any other case programmatically restarting is a bad idea as well 
(webstart, applet, security issues, ...).

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)





More information about the josm-dev mailing list