[josm-dev] JOSM without Main.ds

Jiri Klement jiri.klement at gmail.com
Sun Jul 19 12:05:27 BST 2009


Hi,

I have another patch that will break plugins and possibly other
things. It replaces direct access to PleaseWaitDialog with
ProgressMonitor interface. It should fix exceptions caused by
modifications of PleaseWaitDialog by multiple threads and also allows
grouping of tasks - useful especially for Download data around track
function.

I'm not sure when it will be applied (or whether it will be applied)
as I don't have svn account, but the patch should be finished and
attached to the #2782 ticket today.

There is no workaround, plugins must be rewritten to use the new
progress monitor. Fortunattely it's usually quite easy and I will try
to fix plugins myself if I get time.

On Sun, Jul 19, 2009 at 12:50 PM, Karl
Guggisberg<karl.guggisberg at guggis.ch> wrote:
> Hi,
>
> I have a new version of JOSM in which I got rid of the global Main.ds. I
> hesitate to check it in, though, mainly because it won't work with current
> plugins.
>
> If you are a plugin developer/maintainer you may have a look at this class:
>
> http://svn.openstreetmap.org/applications/editors/josm/plugins/tageditor/src
> /org/openstreetmap/josm/plugins/tageditor/josm/CompatibilityUtil.java
>
> It provides a kind of "compatibility layer" to the tageditor plugin such
> that it runs in JOSM with and without Main.ds. You may consider to update
> your plugins in a similar way. If opposition isn't overwhelming I'll check
> in the new JOSM version by the end of next week. Expect it to be a little
> bit unstable, you may encounter a few NPEs.
>
> Regards
> Karl
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> josm-dev mailing list
> josm-dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/josm-dev
>




More information about the josm-dev mailing list