lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1862) duplicate package.html files in queryParser and analsysis.cn packages
Date Tue, 01 Sep 2009 18:44:33 GMT

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

Hoss Man commented on LUCENE-1862:
----------------------------------

bq. Anyone have any thoughts here? Any time I think about it, I just end up thinking its best
to leave it ... the javadoc itself (package descriptions) still appears to come out correctly.

Uh ... not really.  what you get is non-deterministic behavior, where *one* of the package.html
files for each package gets picked, and the other one isn't used. (this can look particularly
confusing with something like queryPrser, where you'll find one description in the "core"
docs, a differnet version in the "contrib" docs, and it's a crap shoot as to which one of
those will show up in the "all" docs.




> duplicate package.html files in queryParser and analsysis.cn packages
> ---------------------------------------------------------------------
>
>                 Key: LUCENE-1862
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1862
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Hoss Man
>            Priority: Minor
>             Fix For: 2.9
>
>         Attachments: LUCENE-1862.patch
>
>
> These files conflict with eachother when building the javadocs. there can be only one
(of each) ...
> {code}
> hossman@brunner:~/lucene/java$ find src contrib -name package.html | perl -ple 's{.*src/java/}{}'
| sort | uniq -c | grep -v " 1 "
>    2 org/apache/lucene/analysis/cn/package.html
>    2 org/apache/lucene/queryParser/package.html
> hossman@brunner:~/lucene/java$ find src contrib -path \*queryParser/package.html
> src/java/org/apache/lucene/queryParser/package.html
> contrib/queryparser/src/java/org/apache/lucene/queryParser/package.html
> hossman@brunner:~/lucene/java$ find src contrib -path \*cn/package.html
> contrib/analyzers/common/src/java/org/apache/lucene/analysis/cn/package.html
> contrib/analyzers/smartcn/src/java/org/apache/lucene/analysis/cn/package.html
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message