Gentlemen,
When doing svn up in the trunk/lucene directory every build succeeds now.
I used this command sequence in the trunk/lucene/core directory:
(cd ..; svn update -r 1526316) # brackets for subshell, one directory up
ant clean
ant compile-test # succeeds
(cd ..; svn update -r 1527154)
ant clean
ant compile-test # succeeds
I did not expect lucene/core to depend on anything else, but it
apparently depends on lucene/codecs.
Thanks, regards,
Paul Elschot
On 29-09-13 16:20, Han Jiang wrote:
Shai, I think we should change TestRulSetupAndRestoreClassEnv, I'll
upload a patch for this.
On Sun, Sep 29, 2013 at 10:18 PM, Shai Erera <[email protected]
<mailto:[email protected]>> wrote:
I'm not sure but maybe it is related to the fact you run it from
lucene/core. Since on LUCENE-5215 (rev 1527154) I created a new
Lucene46Codec, and moved Lucene45 stuff under test-framework, as
well as changed Lucene45Codec.fieldInfosFormat to not be final,
perhaps you need to run 'ant clean' from the root to make sure all
changes are compiled accordingly?
Out of curiosity, did you 'svn up' from root, or perhaps from
lucene/core by accident?
Shai
On Sun, Sep 29, 2013 at 4:54 PM, Paul Elschot
<[email protected] <mailto:[email protected]>> wrote:
Hi Han,
I just reproduced it three times on my working copy in the
directory trunk/lucene/core
with ant clean in the command sequence:
svn update -r {20130926}
ant clean
ant compile-test # build successful
svn update -r 1527154
ant clean
ant compile-test # build failed
In my working copy svn status currently produces this:
M src/java/org/apache/lucene/util/packed/EliasFanoDecoder.java
M src/java/org/apache/lucene/util/packed/EliasFanoDocIdSet.java
M src/java/org/apache/lucene/util/packed/EliasFanoEncoder.java
M
src/test/org/apache/lucene/util/packed/TestEliasFanoSequence.java
and I don't expect these have an influence.
To be complete, on revision 1526316 (of the 26th) I also got
this output (slightly edited) once:
compile-core:
[mkdir] Created dir: ....
lucene/trunk/lucene/build/core/classes/java
[javac] Compiling 672 source files to ...
lucene/trunk/lucene/build/core/classes/java
[javac] An exception has occurred in the compiler
(1.7.0_21). Please file a bug at the Java Developer Connection
(http://java.sun.com/webapps/bugreport) after checking the Bug
Parade for duplicates. Include your program and the following
diagnostic in your report. Thank you.
[javac] java.lang.AbstractMethodError
....
I could not reproduce that one with four more attempts, so I
do hope that that was a one time glitch.
But it is strange that on my machine:
javac -version
produces:
javac 1.7.0_40
and the compiler exception message above reports 1.7.0_21.
Perhaps there is something wrong with my java/javac setup, any
advice there?
Regards,
Paul Elschot
P.S.
java -version
produces:
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) Server VM (build 24.0-b56, mixed mode)
On 29-09-13 15:11, Han Jiang wrote:
Hi Paul,
Just an FYI, it cannot reproduce on my machine. Maybe... you
need 'ant clean' ?
On Sun, Sep 29, 2013 at 9:02 PM, Paul Elschot
<[email protected] <mailto:[email protected]>>
wrote:
Dear readers,
When I update my working copy of lucene core trunk to
current latest rev 1527154, ant compile-test fails with
this message:
...
lucene/trunk/lucene/core/src/test/org/apache/lucene/index/TestNumericDocValuesUpdates.java:17:
error: cannot find symbol
[javac] import
org.apache.lucene.codecs.lucene45.Lucene45RWCodec;
After updating (backdating) to the 26th: svn update -r
{20130926}
ant compile-test works normally.
I couldn't decide on which issue to post this, so here it is.
Regards,
Paul Elschot
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
<mailto:[email protected]>
For additional commands, e-mail:
[email protected]
<mailto:[email protected]>
--
Han Jiang
Team of Search Engine and Web Mining,
School of Electronic Engineering and Computer Science,
Peking University, China
--
Han Jiang
Team of Search Engine and Web Mining,
School of Electronic Engineering and Computer Science,
Peking University, China