[jira] Closed: (XDP-191) "restrictedpath" is ignored

"Konstantin Pribluda (JIRA)" <jira-yCVjj/[email protected]>
Newsgroups gmane.comp.java.xdoclet-plugins
Message-ID <100282864.1160239406826.JavaMail.haus-jira@codehaus01.managed.contegix.com>
     [ 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.