lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 7019] New: - build failed in GermanStemmer on platform with default encoding GBK
Date Mon, 11 Mar 2002 01:42:57 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7019>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7019

build failed in GermanStemmer on platform with default encoding GBK

           Summary: build failed in GermanStemmer on platform with default
                    encoding GBK
           Product: Lucene
           Version: CVS Nightly - Specify date in submission
          Platform: PC
        OS/Version: Windows 9x
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Analysis
        AssignedTo: lucene-dev@jakarta.apache.org
        ReportedBy: chedong@yahoo.com


I build lucene with ant1.4.1 on my Chinese version Windows which default
file.encoding is GBK. Build failed with following java code error: but 
successful build on linux with default file.encoding = ISO8859_1.

    [javac]
D:\java\jakarta-lucene\src\java\org\apache\lucene\analysis\de\German
Stemmer.java:162: unclosed character literal
    [javac]         else if ( buffer.charAt( c ) == '? ) {
    [javac]                                             ^
    [javac]
D:\java\jakarta-lucene\src\java\org\apache\lucene\analysis\de\German
Stemmer.java:165: unclosed character literal
    [javac]         else if ( buffer.charAt( c ) == '? ) {
    [javac]                                             ^
    [javac]
D:\java\jakarta-lucene\src\java\org\apache\lucene\analysis\de\German
Stemmer.java:168: unclosed character literal
    [javac]         else if ( buffer.charAt( c ) == '? ) {
    [javac]                                             ^
    [javac]
D:\java\jakarta-lucene\src\java\org\apache\lucene\analysis\de\German
Stemmer.java:173: unclosed character literal
    [javac]             if ( buffer.charAt( c ) == '? ) {
    [javac]                                            ^
    [javac]
D:\java\jakarta-lucene\src\java\org\apache\lucene\analysis\de\German
Stemmer.java:185: unclosed character literal
    [javac]                 buffer.setCharAt( c, '? );
    [javac]                                          ^
    [javac]
D:\java\jakarta-lucene\src\java\org\apache\lucene\analysis\de\German
Stemmer.java:209: ')' expected
    [javac]         }
    [javac]              ^
    [javac]
D:\java\jakarta-lucene\src\java\org\apache\lucene\analysis\de\German
Stemmer.java:210: illegal start of expression
    [javac]     }
    [javac]         ^
    [javac]
D:\java\jakarta-lucene\src\java\org\apache\lucene\analysis\de\German
Stemmer.java:264: unclosed character literal
    [javac]         else if ( buffer.charAt( c ) == '? ) {
    [javac]                                             ^
    [javac]
D:\java\jakarta-lucene\src\java\org\apache\lucene\analysis\de\German
Stemmer.java:283: ')' expected
    [javac]         }
    [javac]              ^
    [javac]
D:\java\jakarta-lucene\src\java\org\apache\lucene\analysis\de\German
Stemmer.java:284: illegal start of expression
    [javac]     }
    [javac]         ^
    [javac] 11 errors

so is it possible use unicode \u#### instead of this non-ascii chars?


Che Dong

--
To unsubscribe, e-mail:   <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>


Mime
View raw message