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

Share These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Facebook
  • Twitter
  • LinkedIn
  • email
  • DZone
  • Slashdot
  • Reddit
  • Google Bookmarks
  • Digg
  • StumbleUpon
  • del.icio.us
This entry was posted in Java and tagged , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared.

You may use these HTML tags and attributes <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>