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@openstreetmap.org
https://lists.openstreetmap.org/listinfo/josm-dev

Reply via email to