On 10/28/2011 03:37 AM, Werner Horsch wrote:
> Does someone knows how to setup Netbeans to acces the svn so as to download
> the JOSM code?
> 
> I've been able to download through an SVN client, same as some plugins
> How/Where should I insert the plugin code into the JOSM project so I can
> test it in the IDE?

For plugin development, make sure you check out the following URL:

~$ svn co http://svn.openstreetmap.org/applications/editors/josm

The canonical way to compile JOSM and the plugins is as follows:

~$ cd josm/core
~/josm/core$ ant clean dist
... [compiles JOSM core to josm/core/dist/josm-custom.jar]
~/josm/core$ cd ../plugins/utilsplugin2/
~/josm/plugins/utilsplugin2$ ant clean dist
... [compiles plugin to josm/dist/utilsplugin2.jar]

If you want to test the plugin, just copy it to the preference folder,
where JOSM keeps the downloaded plugin binaries (and install the plugin
normally).

For Netbeans there is a preconfigured project folder in
josm/core/netbeans. [1]

Plugins can be developed as a free form project. You'll need the JOSM
binary in class path (add as library).

Paul

[1] I updated it a few minutes ago, make sure you have the most recent
version when testing.

_______________________________________________
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev

Reply via email to