You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Wim Deblauwe <wi...@gmail.com> on 2005/11/24 13:33:09 UTC

[m2] xdoclet for hibernate 3 with JDK 1.5

Hi,

anybody got the combination of xdoclet with hibernate 3 and jdk 1.5 working?

I found that the xdoclet-maven-plugin (version alfa2 - seen this from a
post, the website still shows alfa1) supports hibernate 3 (since it uses
XDoclet 1.2.3), but I get errors because of 1.5 specific syntax. I then
found this mail in the archives.

=-=-=-
The problem related to the XDoclet plugin that was producing a nasty
exception when launched was due to the fact that the alpha-1.0 version was
just not working.

This version is the one referenced as example on Codehaus website and is
NOT WORKING for ejbDoclet task (I don't know for other ones).

Anyway, an Alpha-2.0 version has also been released and just changing this
makes the ejbDoclet plugin work.

Also, if you have problems using this plugin with Java 1.5, know that the
XJavadoc version used in this plugin (1.1) doesn't work with Java 1.5
syntax.  You will have to change this dependency to XJavadoc 1.5 in order
to have XDoclet work with this specific syntax.

Hope it will help somebody else,

Jérôme

P.S: Thank you all for the reply sent to me while searching for a solution
=-=-=-=-

However, I could not find XJavadoc version 1.5. Looking at
http://xdoclet.sourceforge.net/xjavadoc/, it shows version 1.1 and not 1.5.

Any hints are welcome.

regards,

Wim
PS: Another remark: the list of dependencies from the xdoclet plugin is very
long! Is that really needed?