[ http://jira.codehaus.org/browse/XDP-191?page=all ]
Konstantin Pribluda closed XDP-191. ----------------------------------- Resolution: Fixed Fix Version/s: 1.0.4 fix in current snapshot > "restrictedpath" is ignored > --------------------------- > > Key: XDP-191 > URL: http://jira.codehaus.org/browse/XDP-191 > Project: XDoclet 2 Plugins > Issue Type: Bug > Components: hibernate > Affects Versions: 1.0.3 > Environment: Java(TM) 2 Runtime Environment, Standard Edition (build > 1.5.0_06-b05) > Reporter: Daniel Mitterdorfer > Fix For: 1.0.4 > > > HibernateMappingPlugin ignores the property "restrictedpath" and therefore > breaks superclass behaviour. The relevant part of the implementation of > QDoxPlugin (which is grandparent of HibernateMappingPlugin): > public boolean shouldGenerate(Object metadata) { > return !inRestrictedFolder((JavaClass) metadata); > } > (info: #inRestrictedFolder(...) evaluates the restrictedpath property). > However, org.xdoclet.plugin.hibernate.HibernateMappingPlugin ignores the > superclass behaviour. A simple call to super.shouldGenerate(metadata) in > HibernateMappingPlugin#shouldGenerate(...) fixes the issue. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ xdoclet-plugins-interest mailing list xdoclet-plugins-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest