xdoclet vs xdoclet2?

I'm updating an old project & my version of xdoclet complains about my Java 1.5 annontations (ArrayList data = ....) when parsing for Hibernate (hibernate3) tags.

So my question is this...

Is there a fix for Xdoclet 1.2.3, or should I look to move to Xdoclet2?

I've already started moving some of the code over, but xdoclet2 doesn't seem to offer the same level of configuration for hibenate, such as excludedtags. I could be wrong on this though.

What do you lot think?

Jeff Porter

Asked by: Audrey508 | Posted: 28-01-2022

Answer 1

I would definitively lose xdoclet in favor of JPA annotations. You can get about the same functionality from Hibernate using JPA annotations.

Answered by: Sienna934 | Posted: 01-03-2022

Answer 2

To answer the original question: I had a similar (the same?) problem, which was caused by the version of xjavadoc distributed with xdoclet 1.2.3.

XJavadoc provided a snapshot release that fixes the compatibility. Replace the jar from the xdoclet-release with the one you can find as an attachment to this JIRA issue (couldn't find a direct URL), and things should be better...

Answered by: Adrian328 | Posted: 01-03-2022

Similar questions

Still can't find your answer? Check out these amazing Java communities for help...

Java Reddit Community | Java Help Reddit Community | Dev.to Java Community | Java Discord | Java Programmers (Facebook) | Java developers (Facebook)