[ 
https://issues.apache.org/jira/browse/LUCENE-3887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13234063#comment-13234063
 ] 

Shai Erera commented on LUCENE-3887:
------------------------------------

In my projects, I handle stuff like that in unit tests. We can have a 
TestRelease unit test with testPackageHTML() that lists all directories and 
verifies that there's a package.html found.

- If someone runs proper testing before commit, he'll catch it.
- Jenkins should definitely catch it during the night builds.

We can have these sort of tests in some common misc/src folder, and have the 
build.xml always run them, whether you ran the test from a specific module, or 
from the root.

Just an idea.
                
> 'ant javadocs' should fail if a package is missing a package.html
> -----------------------------------------------------------------
>
>                 Key: LUCENE-3887
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3887
>             Project: Lucene - Java
>          Issue Type: Task
>          Components: general/build
>            Reporter: Robert Muir
>
> While reviewing the javadocs I noticed many packages are missing a basic 
> package.html.
> For 3.x I committed some package.html files where they were missing (I will 
> port forward to trunk).
> I think all packages should have this... really all public/protected 
> classes/methods/constants,
> but this would be a good step.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to