> > ----- 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^
XDoclet 2 uses diferent java source parser ( qdox ), so issue in generics in java 1.5 lies there. ( http://qdox.codehaus.org ) Latest qdox release ( 1.6-SNAPSHOT ) could be better... regards, ----[ Konstantin Pribluda http://www.pribluda.de ]---------------- Still using XDoclet 1.x? XDoclet 2 is released and of production quality. check it out: http://xdoclet.codehaus.org __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- 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