Hm, I'm not sure this was fixed in XDoclet 1.  I've been using XDoclet 1.2.3, 
and as soon as I added Generics to my models, XDoclet started throwing these 
errors and was unable to generate propr hbm.xml files. :(

Otis

----- Original Message ----
From: Adam Kramer <[EMAIL PROTECTED]>
To: xdoclet-plugins-interest@lists.sourceforge.net
Sent: Friday, March 10, 2006 12:58:03 PM
Subject: [xdoclet-plugins-interest] problem with Java 5 generics with hibernate 
plugin

I presumed this was a core issue with Xdoclet2, but it might be a plugin 
problem or not a problem altogether. I may have jumped the gun and 
posted a problem at http://jira.codehaus.org/browse/XDOCLET-45, but 
regardless...

I'm using the maven1 maven-xdoclet2-plugin-1.0.3-SNAPSHOT.jar with a 
modified dependency to use xdoclet-2.0.5-SNAPSHOT and the 
xdoclet-plugin-hibernate-1.0.4-SNAPSHOT
The error is below when parsing a file with a Java 5 generic syntax:
Running org.xdoclet.plugin.hibernate.HibernateMappingPlugin
Error parsing File C:[longpath]\Person.java:Encountered "<" at line 82, 
column 14.
Was expecting one of:
<IDENTIFIER> ...
"[" ...
"." ...

This was documented as fixed in XDoclet1, didn't know if it has been or 
needed to be addressed in 2.
The thread is at 
http://opensource2.atlassian.com/projects/xdoclet/browse/XJD-41^

Adam



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
xdoclet-plugins-interest mailing list
xdoclet-plugins-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest





-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
xdoclet-plugins-interest mailing list
xdoclet-plugins-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to