On Thu, 3 Feb 2011, Wylie, Brian wrote:
Mistype (exceptions.xml) -> (extensions.xml)
This is about trunk or 3.x ?
Not the same thing, trunk is highly unstable and PyLucene is not following
it too closely. What used to be trunk at the Lucene project is now the
so-called 3.x branch, considered new and stable.
The Lucene trunk is quite volatile at the moment and PyLucene's unit tests,
in particular, need a lot of work to pass again against trunk.
Help from PyLucene users in moving this forward in the form of patches would
be more than welcome :-)
Andi..
On 2/3/11 11:29 AM, "Wylie, Brian" <[email protected]> wrote:
Apologies for the direct email, I tried to sign up to the pylucene list, but
is seems to have moved and when trying to subscribe to the new one I got a
bounce. :)
This is in regards to the email sent by
Helmut Jarausch
2011-01-11, 09:07
1) SVN update as of today
2) 3.0.3 build, install, and make test with no problems whatsoever (so going
to use this)
3) Just for fun, tried to build the Trunk. It failed in the same way
(exceptions.xml) as Helmut's email.
So you probably already know this, but just a FWIW. :)
-bri
% uname -a
Darwin s930701.srn.sandia.gov 10.5.0 Darwin Kernel Version 10.5.0: Fri Nov 5
23:19:13 PDT 2010; root:xnu-1504.9.17~1/RELEASE_X86_64 x86_64
*** Makefile ***
# Mac OS X 10.6 (64-bit Python 2.6, Java 1.6)
PREFIX_PYTHON=/opt/local
ANT=ant
PYTHON=$(PREFIX_PYTHON)/bin/python
JCC=$(PYTHON) -m jcc.__main__ --shared --arch x86_64
NUM_FILES=3
bnwylie@s930701:~/work/pylucene/trunk$ make
ant -f extensions.xml -Dlucene.dir=lucene-java-4.0
Buildfile: /Users/bnwylie/Work/pylucene/trunk/extensions.xml
compile:
[javac] /Users/bnwylie/Work/pylucene/trunk/extensions.xml:19: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to
false for repeatable builds
[javac] Compiling 29 source files to
/Users/bnwylie/Work/pylucene/trunk/build/classes
[javac]
/Users/bnwylie/Work/pylucene/trunk/java/org/apache/pylucene/search/PythonSimil
arity.java:19: cannot find symbol
[javac] symbol : class Searcher
[javac] location: package org.apache.lucene.search
[javac] import org.apache.lucene.search.Searcher;
[javac] ^
[javac]
/Users/bnwylie/Work/pylucene/trunk/java/org/apache/pylucene/search/PythonSimil
arity.java:49: cannot find symbol
[javac] symbol : class Searcher
[javac] location: class org.apache.pylucene.search.PythonSimilarity
[javac] final Searcher searcher)
[javac] ^
[javac]
/Users/bnwylie/Work/pylucene/trunk/java/org/apache/pylucene/search/PythonSimil
arity.java:66: cannot find symbol
[javac] symbol : class Searcher
[javac] location: class org.apache.pylucene.search.PythonSimilarity
[javac] public native float idfTerms(Collection terms, Searcher
searcher);
[javac] ^
[javac]
/Users/bnwylie/Work/pylucene/trunk/java/org/apache/pylucene/search/PythonSimil
arityDelegator.java:19: cannot find symbol
[javac] symbol : class SimilarityDelegator
[javac] location: package org.apache.lucene.search
[javac] import org.apache.lucene.search.SimilarityDelegator;
[javac] ^
[javac]
/Users/bnwylie/Work/pylucene/trunk/java/org/apache/pylucene/search/PythonSimil
arityDelegator.java:20: cannot find symbol
[javac] symbol : class Searcher
[javac] location: package org.apache.lucene.search
[javac] import org.apache.lucene.search.Searcher;
[javac] ^
[javac]
/Users/bnwylie/Work/pylucene/trunk/java/org/apache/pylucene/search/PythonSimil
arityDelegator.java:24: cannot find symbol
[javac] symbol: class SimilarityDelegator
[javac] public class PythonSimilarityDelegator extends SimilarityDelegator
{
[javac] ^
[javac]
/Users/bnwylie/Work/pylucene/trunk/java/org/apache/pylucene/analysis/PythonCha
rTokenizer.java:23: org.apache.pylucene.analysis.PythonCharTokenizer is not
abstract and does not override abstract method isTokenChar(int) in
org.apache.lucene.analysis.CharTokenizer
[javac] public class PythonCharTokenizer extends CharTokenizer {
[javac] ^
[javac]
/Users/bnwylie/Work/pylucene/trunk/java/org/apache/pylucene/analysis/PythonCha
rTokenizer.java:29: cannot find symbol
[javac] symbol : constructor CharTokenizer(java.io.Reader)
[javac] location: class org.apache.lucene.analysis.CharTokenizer
[javac] super(reader);
[javac] ^
[javac]
/Users/bnwylie/Work/pylucene/trunk/java/org/apache/pylucene/search/PythonColle
ctor.java:25: org.apache.pylucene.search.PythonCollector is not abstract and
does not override abstract method
setNextReader(org.apache.lucene.index.IndexReader.AtomicReaderContext) in
org.apache.lucene.search.Collector
[javac] public class PythonCollector extends Collector {
[javac] ^
[javac]
/Users/bnwylie/Work/pylucene/trunk/java/org/apache/pylucene/search/PythonField
Comparator.java:26: org.apache.pylucene.search.PythonFieldComparator is not
abstract and does not override abstract method
setNextReader(org.apache.lucene.index.IndexReader.AtomicReaderContext) in
org.apache.lucene.search.FieldComparator
[javac] public class PythonFieldComparator extends FieldComparator {
[javac] ^
[javac]
/Users/bnwylie/Work/pylucene/trunk/java/org/apache/pylucene/search/PythonFilte
r.java:25: org.apache.pylucene.search.PythonFilter is not abstract and does
not override abstract method
getDocIdSet(org.apache.lucene.index.IndexReader.AtomicReaderContext) in
org.apache.lucene.search.Filter
[javac] public class PythonFilter extends Filter {
[javac] ^
[javac]
/Users/bnwylie/Work/pylucene/trunk/java/org/apache/pylucene/search/PythonSimil
arity.java:25: org.apache.pylucene.search.PythonSimilarity is not abstract and
does not override abstract method
computeNorm(java.lang.String,org.apache.lucene.index.FieldInvertState) in
org.apache.lucene.search.Similarity
[javac] public class PythonSimilarity extends Similarity {
[javac] ^
[javac]
/Users/bnwylie/Work/pylucene/trunk/java/org/apache/pylucene/search/PythonSimil
arity.java:70: lengthNorm(java.lang.String,int) in
org.apache.pylucene.search.PythonSimilarity cannot override
lengthNorm(java.lang.String,int) in org.apache.lucene.search.Similarity;
overridden method is final
[javac] public native float lengthNorm(String fieldName, int
numTokens);
[javac] ^
[javac]
/Users/bnwylie/Work/pylucene/trunk/java/org/apache/pylucene/store/PythonDirect
ory.java:26: org.apache.pylucene.store.PythonDirectory is not abstract and
does not override abstract method sync(java.util.Collection<java.lang.String>)
in org.apache.lucene.store.Directory
[javac] public class PythonDirectory extends Directory {
[javac] ^
[javac] 14 errors
BUILD FAILED
/Users/bnwylie/Work/pylucene/trunk/extensions.xml:19: Compile failed; see the
compiler error output for details.
Total time: 0 seconds
make: *** [build/jar/extensions.jar] Error 1
bnwylie@s930701:~/work/pylucene/trunk$
Brian Wylie - Org 1461
Sandia National Laboratories
MS 1323 - Building CSRI/242
(505)844-2238 FAX(505)284-2518
_______ __
/_ __(_) /_____ _____
/ / / / __/ __ `/ __ \
/ / / / /_/ /_/ / / / /
/_/ /_/\__/\__,_/_/ /_/
Scalable Analysis and Visualization
Brian Wylie - Org 1461
Sandia National Laboratories
MS 1323 - Building CSRI/242
(505)844-2238 FAX(505)284-2518
_______ __
/_ __(_) /_____ _____
/ / / / __/ __ `/ __ \
/ / / / /_/ /_/ / / / /
/_/ /_/\__/\__,_/_/ /_/
Scalable Analysis and Visualization