[ 
https://issues.apache.org/jira/browse/LUCENE-1862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Muir updated LUCENE-1862:
--------------------------------

    Attachment: LUCENE-1862.patch

patch for the smartcn issue.

{noformat}
mkdir contrib/analyzers/smartcn/src/test/org/apache/lucene/analysis/cn/smart
svn add contrib/analyzers/smartcn/src/test/org/apache/lucene/analysis/cn/smart
svn move 
contrib/analyzers/smartcn/src/test/org/apache/lucene/analysis/cn/TestSmartChineseAnalyzer.java
 contrib/analyzers/smartcn/src/test/org/apache/lucene/analysis/cn/smart
svn move 
contrib/analyzers/smartcn/src/resources/org/apache/lucene/analysis/cn/stopwords.txt
 contrib/analyzers/smartcn/src/resources/org/apache/lucene/analysis/cn/smart
svn move 
contrib/analyzers/smartcn/src/java/org/apache/lucene/analysis/cn/SmartChineseAnalyzer.java
 contrib/analyzers/smartcn/src/java/org/apache/lucene/analysis/cn/smart
svn delete 
contrib/analyzers/smartcn/src/java/org/apache/lucene/analysis/cn/smart/package.html
svn move 
contrib/analyzers/smartcn/src/java/org/apache/lucene/analysis/cn/package.html 
contrib/analyzers/smartcn/src/java/org/apache/lucene/analysis/cn/smart
patch -p0 < patch.txt 
{noformat}

note: i did not make any change to analysis/cn/smart/hhmm/package.html, 
although it should be modified like the other files. the problem is it has a 
stray control-M, (as well as not having eol-style set), so it is impossible for 
me to provide a well-formed patch that will actually apply. we should fix this 
in the future!


> 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}
> hoss...@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
> hoss...@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
> hoss...@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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to