[josm-dev] Problem to compile JOSM since jaxb target exists

Vincent Privat vincent.privat at gmail.com
Sun May 25 22:06:45 UTC 2014


Can you please share more information about your environment? OS, Ant and
JDK version?


2014-05-25 22:02 GMT+02:00 Holger Mappt <holgerosm at gmx.net>:

> Hi,
>
> I use the command line to build JOSM from the SVN sources.  Since rev.
> 7133 the build fails with this error:
>
> compile:
> Caught an exception while logging the end of the build.  Exception was:
> java.lang.NoClassDefFoundError: org/apache/tools/ant/util/DateUtils
>         at org.apache.tools.ant.DefaultLogger.formatTime(
> DefaultLogger.java:330)
>         at org.apache.tools.ant.DefaultLogger.buildFinished(
> DefaultLogger.java:177)
> [...]
> There has been an error prior to that:
> /home/josm/core/build.xml:215: Problem: failed to create task or type javac
> Cause: the class org.apache.tools.ant.taskdefs.Javac was not found.
>
> The workaround is to remove the dependency "jaxb" from the "compile"
> target in build.xml and to run "ant jaxb" (fails after files were
> generated) before "ant".
>
> Does someone have the same problem?  Looks like jaxb does something that
> breaks ant, but I cannot figure out what is wrong.  What could cause the
> build error?
>
> Thanks,
> Holger
>
> _______________________________________________
> josm-dev mailing list
> josm-dev at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/josm-dev
>


More information about the josm-dev mailing list