[josm-dev] mirrored_download plugin source

Paul Norman penorman at mac.com
Tue Jun 12 18:16:34 BST 2012


> From: Simon Legner [mailto:simon.legner at gmail.com]
> Sent: Monday, May 14, 2012 1:18 AM
> To: josm-dev at openstreetmap.org
> Subject: Re: [josm-dev] mirrored_download plugin source
> 
> Hi Paul!
> 
> > I was planning to take a look at fixing a couple of bugs in the
> > mirrored_download plugin, but was unable to find the source. Could
> > anyone point me to where it is located?
> 
> The source code of plugins is located in the OSM SVN (in constrast to
> the JOSM SVN):
> 
> http://svn.openstreetmap.org/applications/editors/josm/plugins/mirrored_
> download
> 
> > Just for reference, the two bugs are
> > http://josm.openstreetmap.de/ticket/7660
> > http://josm.openstreetmap.de/ticket/7661
> 
> Yesterday, I tested several enhancements of this plugin, but I didn't
> commit the changes yet:
>   https://josm.openstreetmap.de/ticket/7511#comment:11
> As far as I can see, with my changes, the tickets 766[01] are obsolete.
> I guess, in the next few days, I'd commit my changes.

I just updated to r28108 of mirrored_download and both bugs are still
present.

The offending line for the first bug is:
https://trac.openstreetmap.org/browser/applications/editors/josm/plugins/mir
rored_download/src/mirrored_download/MirroredDownloadAction.java#L164

The second one doesn't have as obvious a fix, but it looks like on startup
MirroredDownloadPlugin.java:16 sets the downloadUrl to a hard-coded value
regardless of if a custom one has been set

I could try fixing these but I'd have to set up a java environment first.




More information about the josm-dev mailing list