[ http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1562?page=comments#action_17430 ]
Andrew Stevens commented on XDT-1562: ------------------------------------- This isn't specific to the hibernate module, it's a more general issue with the parser. I'm therefore moving the issue to the XJavadoc project. > Hibernatedoclet only sees class level tags in the last comment before class > declaration > --------------------------------------------------------------------------------------- > > Key: XDT-1562 > URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1562 > Project: XDoclet > Type: Bug > Components: Parser > Versions: 1.1 > Environment: GNU/Linux, maven 1,0.2 > Reporter: Mikko Reinikainen > Assignee: xdoclet-devel (Use for new issues) > > > I had the following code in User.java: > /** > * @hibernate.class table="users" lazy="false" > */ > /* TODO add business logic */ > public class User { > ... > } > Hibernatedoclet didn't generate any mapping file from the class. When I moved > "@hibernate.class" to the last comment before "public class User", > hibernatedoclet generated the mapping file. > I tried different combinations where there is some other comment in between > the "@hibernate.class" directive and the class declaration, and > hibernatedoclet didn't produce mapping files for them. Only when the last > comment was of the type "/** ... @hibernate.class ... */", did > hibernatedoclet generate the mapping file. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel