[josm-dev] JOSM, plugins and Eclipse

Robin Rattay rotora at gmx.net
Sun Aug 17 08:06:06 BST 2008


Pieren schrieb:
> The problem is that Josm is loading the plugin jar's from the
> ~/josm/plugins folder and not from where it is compiled.
> What I did to fix this is create an export file descriptor
> (Eclipse->Export->jar->save to file) .jardesc in the plugin project
> which export the plugin jar file into the final location (right click
> on the jardesc file and click on 'create jar'):
> In "select the export destination", I gave:
> C:\Documents and Settings\<myusername>\Application
> Data\JOSM\plugins\myplugin.jar

This doesn't seem to be necessary. I followed Bodo's instructions and it
worked fine. When starting JOSM from inside Eclipse, the code of the
plugin in Eclipse and not in the jar file is used, allowing me to debug.

Robin




More information about the josm-dev mailing list