[ http://jira.codehaus.org/browse/QDOX-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=249724#action_249724 ]
Robert Scholte commented on QDOX-223: ------------------------------------- Actually this is a feature-request. QDox generates a Model from {{package-info.java}} as if it would just a normal {{JavaClass}}. Only the package of a {{JavaClass}} keeps its annotations. So when calling {{builder.getPackages()}} QDox should first check if there's a {{package-info.java}}. Also this file shouldn't be exposed under {{builder.getClasses()}} > Package annotations not found if package-info.java is first file in package > --------------------------------------------------------------------------- > > Key: QDOX-223 > URL: http://jira.codehaus.org/browse/QDOX-223 > Project: QDox > Issue Type: Bug > Components: Parser > Affects Versions: 1.12 > Reporter: Lee Butts > Priority: Critical > Attachments: qdox-bug.zip > > > If a package has package-info.java as the first file in the directory then > annotations in that file are not added to JavaPackage object that is created. > Example project with a failing test is attached. -- 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 --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email