Problem during Compiling Plugin for JOSM
Michael Zangl
openstreetmap at michaelzangl.de
Thu Jan 7 11:13:23 UTC 2021
Hi,
Ant is quite complex to set up.
If you want to, you can use gradle instead. You can then use this plugin:
https://gitlab.com/floscher/gradle-josm-plugin#readme
Basically, you need to set up a new gradle project (Eclipse / IntelliJ
have a preset for this) and then you change the build.gradle file to as
said in the Setup.md document.
Eclipse should be able to import everything automatically then, add the
JOSM dependencies.
To run, just use ./gradlew runJosm (or start the runJosm task in the IDE)
Michael
On 06.01.21 17:39, Volodia EL AZIMANI wrote:
> Hey,
>
> I'm a Java "novice" who wants to create a plugin button for JOSM. I follow
> the instructions on
> https://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins but
> when I want to compile the plugin with Eclipse using Ant, I have an error
> message:
>
> BUILD FAILED
> C:\Users\velazimani\Desktop\JOSM\MyPlugin\build-common.xml:79: Class not
> found: com.google.errorprone.ErrorProneAntCompilerAdapter
>
> After hours of search about this error, I can't find a solution to compile
> my plugin.
> Have-you got some tips or suggestions?
>
> Thank you very much and Happy New Year! :)
>
More information about the josm-dev
mailing list