I just upgraded to Ant 1.5.1 and XDoclet 1.2b2. I was getting this message:
“[ejbdoclet] Make sure the jar file containing the ejbdoclet class is on the classpath specified in the that defined {2}. These classes are needed in order to generate correct output.”
Real good. The {2} tells me that they missed a message catalog entry. Not too bad but the real problem had NOTHING to do with what the message says. The xdoclet jars were indeed in my classpath. The problem was that the jar containing javax.ejb was not found (weblogic.jar or j2ee.jar for the sun RI). Obvious huh?
By the way, try running the generated source through checkstyle and see what you get