[josm-dev] Changing package of utilsplugin2 troublesome?

Paul Hartmann phaaurlt at googlemail.com
Fri Feb 10 16:22:04 GMT 2012


On 02/10/2012 04:29 AM, Josh Doe wrote:
> On Thu, Feb 9, 2012 at 9:55 PM, Josh Doe <josh at joshdoe.com> wrote:
>> I'd like to use some functionality of utilsplugin2 in a plugin I'm
>> writing, but would like to put it in a more proper package than just
>> utilsplugin2, like org.openstreetmap.josm.plugins.utilsplugin2. Will
>> this cause any problems? While I'm at it maybe I should change
>> dumbutils to something else...
> 
> Hmm, it seems like it is nearly impossible since the Plugin-Class is a
> constant (in site-josm.openstreetmap.de-_plugin.txt) across plugin
> revisions. At least for UtilsPlugin2.java, seems I can safely move all
> the other files into org.openstreetmap.josm.plugins.utilsplugin2.

Yes, you can use any package you like, but better not the same class name...

Paul



More information about the josm-dev mailing list