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

Holger Mappt holgerosm at gmx.net
Sun May 25 20:02:58 UTC 2014


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



More information about the josm-dev mailing list