lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven A Rowe <sar...@syr.edu>
Subject Solrj lucene-core dependency [was: RE: [JENKINS-MAVEN] Lucene-Solr-Maven-trunk #540: POMs out of sync]
Date Mon, 09 Jul 2012 17:53:30 GMT
As part of LUCENE-4199, a lucene-core dependency was added to Solrj, in ContentStreamBase.java:

133: public Reader getReader() throws IOException {
134:   String charset = getCharsetFromContentType( contentType );
135:   return charset == null 
136:     ? new InputStreamReader(getStream(), IOUtils.CHARSET_UTF_8)
137:     : new InputStreamReader( getStream(), charset );
138: }

IOUtils is under lucene/core/src/java/org/apache/lucene/util/.

Elsewhere in Solrj, Charset.forName("UTF-8") is used instead of IOUtils.CHARSET_UTF_8.

Any objections to switching?  Or maybe we can make a Solrj-private cached version like lucene-core's?

Steve

-----Original Message-----
From: Apache Jenkins Server [mailto:jenkins@builds.apache.org] 
Sent: Monday, July 09, 2012 1:28 PM
To: dev@lucene.apache.org
Subject: [JENKINS-MAVEN] Lucene-Solr-Maven-trunk #540: POMs out of sync

Build: https://builds.apache.org/job/Lucene-Solr-Maven-trunk/540/

No tests ran.

Build Log:
[...truncated 7669 lines...]
[INFO] Compiling 119 source files to /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-Maven-trunk/checkout/maven-build/solr/solrj/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------

[...truncated 140 lines...]



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

Mime
View raw message