[josm-dev] Difference between JOSM and JOSM-NG

Petr Nejedly Petr.Nejedly at Sun.COM
Mon Aug 18 20:26:25 BST 2008


Jonathan Bennett napsal(a):
> Petr Nejedly wrote:
>> When thinking of it now, I don't think starting josm-ng was a bad idea.
>> It allowed me to prototype my ideas quickly and some of the ideas can
>> still be taken from josm-ng and ported to josm.
> 
> 
> Petr, just out of interest, why didn't you base josm-ng on the NetBeans 
> platform, given your day job?

This was my very first thought when I've seen JOSM source code for the very
first time. It has plugin system, menu registrations, kind of windowing system,
toolbars, I18N, update center. Even NB palette would be useful (for presets).

Now think of it more: josm.jar was around 900kb at that time, stripped down
NB platform is around 6MB. Who's gonna buy that? There's a lot of stuff in NB
that JOSM would have no use for (nodes, filesystems), or would unnecessarily
add complexity (datasystems), yet are important part of the platform and e.g.
windowing system (which would be great addition to JOSM) depend on them.

Given that some of the NB platform concepts have made it into the JDK already,
or can be stripped down to a class or two, and given that I started with a simple
OSM parser and a data model (just to test how small/fast would that be) first,
I followed the route of adding individual concepts as they are needed rather
than starting with a huge platform and a very tiny addon.

-- 
Petr "Nenik" Nejedly, NetBeans/Sun Microsystems, http://www.netbeans.org
355/113 -- Not the famous irrational number PI, but an incredible simulation!




More information about the josm-dev mailing list