[josm-dev] JOSMng prototype [resend]
Petr Nejedly
Petr.Nejedly at Sun.COM
Sat Feb 9 10:41:49 GMT 2008
Gervase Markham napsal(a):
> Petr Nejedly wrote:
>> For running with all the mappaint bells and whistles, run:
>> java -classpath /path/to/josm.jar:dist/josm-ng.jar org.openstreetmap.josmng.ui.Main
>
> To be more precise, run:
>
> $ ant jar
> $ java -classpath
> /path/to/josm.jar:dist/josm-ng.jar:lib/swing-layout-1.0.3.jar
> org.openstreetmap.josmng.ui.Main
>
> although adding josm.jar doesn't seem to make any difference to me. I
> can't get any bells and whistles :-(
Well, you have to prepend it, so it hides the empty elemstyles.xml from josm-ng.jar
and uses the full one from josm.jar (and icons too).
This worked for me (i.e. rendering was mappaint-like):
java -classpath JOSM.jar:dist/josm-ng.jar:lib/swing-layout-1.0.3.jar org.openstreetmap.josmng.ui.Main
> What's the license on swing-layout-1.0.3.jar?
LGPL, though I still don't really depend on it. I was just lazy to switch
the form layout to something available when switching back to JDK1.5.
See https://swing-layout.dev.java.net/
--
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