ANT and XDoclet

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 :)

Article by gene

It seems like this author has no description. Add your discription/bio at user profile or disable this widget in theme customizer if you dont want to use it.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">