[ http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1551?page=comments#action_17590 ]
Steve commented on XDT-1551: ---------------------------- Hello, Has anyone created a proper patch for this? I've just run into the problem. Thank you, Steve. > Some classes are visited more than once causing dulicated entries. > ------------------------------------------------------------------ > > Key: XDT-1551 > URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1551 > Project: XDoclet > Type: Bug > Components: Apache Module, Core, Spring Module > Environment: irrelevant > Reporter: Cserveny Tamas > Assignee: xdoclet-devel (Use for new issues) > Attachments: visited.patch > > > I'm experienceing a strange bug with xdoclet 1.2.3. > Useing springxml and strutsconfig tags (probably all tags affected) when I > define a class A and its child class B and both of them has xdoclet tags > eg.: > /** > @struts.action .. > @spring.bean .. > */ > class A extends ..struts...Action { > } > /** > @struts.action .. > @spring.bean .. > */ > class B extends A { > } > In both output files the following generated: > <bean name="/A" class="A" .../> > <bean name="/B" class="B" .../> > <bean name="/A" class="B" .../> > 'A' is redefined ( same with struts action ). > I think this issue lies somewhere deep in core, where the superceded class in > question is revisited. > I made a small patch to stop this revisit in my project, but unfortunatelty > i'm unable to provide a full patch againt your CVS version. > The patch is in unified diff format. -- 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 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel