lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Che Dong" <ched...@yahoo.com>
Subject build failed in GermanStemmer on platform with default encoding GBK
Date Wed, 06 Mar 2002 01:06:24 GMT
Hi all:
I build lucene with ant1.4.1 on my Chinese version Windows with default
file.encoding. but failed with following java code error: but successful
build on linux with default file.encoding = ISO8859_1.

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

    [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

Che Dong



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
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