RE: ant build-contrib fails on trunk?

2009-10-16 Thread Uwe Schindler
I'll fix, this is because of generics and compareTo(). I revert the change.

-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de


 -Original Message-
 From: Michael McCandless [mailto:luc...@mikemccandless.com]
 Sent: Friday, October 16, 2009 7:01 PM
 To: java-dev@lucene.apache.org
 Subject: ant build-contrib fails on trunk?
 
 When I run ant build-contrib on current trunk, I hit this:
 
 compile-core:
 [javac] Compiling 1 source file to
 /lucene/tmp2/build/contrib/instantiated/classes/java
 [javac]
 /lucene/tmp2/contrib/instantiated/src/java/org/apache/lucene/store/instant
 iated/InstantiatedTermDocumentInformation.java:48:
 compareTo(org.apache.lucene.index.Term) in
 org.apache.lucene.index.Term cannot be applied to
 (org.apache.lucene.store.instantiated.InstantiatedTerm)
 [javac]   return
 instantiatedTermDocumentInformation.getTerm().getTerm().compareTo(instanti
 atedTermDocumentInformation1.getTerm());
 [javac] ^
 [javac] 1 error
 
 
 Is anyone else seeing this?
 
 Mike
 
 -
 To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
 For additional commands, e-mail: java-dev-h...@lucene.apache.org



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



Re: ant build-contrib fails on trunk?

2009-10-16 Thread Robert Muir
yes, not just you

On Fri, Oct 16, 2009 at 1:00 PM, Michael McCandless 
luc...@mikemccandless.com wrote:

 When I run ant build-contrib on current trunk, I hit this:

 compile-core:
[javac] Compiling 1 source file to
 /lucene/tmp2/build/contrib/instantiated/classes/java
[javac]
 /lucene/tmp2/contrib/instantiated/src/java/org/apache/lucene/store/instantiated/InstantiatedTermDocumentInformation.java:48:
 compareTo(org.apache.lucene.index.Term) in
 org.apache.lucene.index.Term cannot be applied to
 (org.apache.lucene.store.instantiated.InstantiatedTerm)
[javac]   return

 instantiatedTermDocumentInformation.getTerm().getTerm().compareTo(instantiatedTermDocumentInformation1.getTerm());
[javac] ^
[javac] 1 error


 Is anyone else seeing this?

 Mike

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




-- 
Robert Muir
rcm...@gmail.com


RE: ant build-contrib fails on trunk?

2009-10-16 Thread Uwe Schindler
It was not the generics change, it was a bug in the comparator. There was
one getTerm() missing. I'll add.

The compile found the error, because of generics, the signature didn't match
correct (in 1.4 it was just Object without a generics hint, now its Object
and Term, but InstantiatedTerm does not match).

Committed revision: 826011

-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de


 -Original Message-
 From: Uwe Schindler [mailto:u...@thetaphi.de]
 Sent: Friday, October 16, 2009 7:10 PM
 To: java-dev@lucene.apache.org
 Subject: RE: ant build-contrib fails on trunk?
 
 I'll fix, this is because of generics and compareTo(). I revert the
 change.
 
 -
 Uwe Schindler
 H.-H.-Meier-Allee 63, D-28213 Bremen
 http://www.thetaphi.de
 eMail: u...@thetaphi.de
 
 
  -Original Message-
  From: Michael McCandless [mailto:luc...@mikemccandless.com]
  Sent: Friday, October 16, 2009 7:01 PM
  To: java-dev@lucene.apache.org
  Subject: ant build-contrib fails on trunk?
 
  When I run ant build-contrib on current trunk, I hit this:
 
  compile-core:
  [javac] Compiling 1 source file to
  /lucene/tmp2/build/contrib/instantiated/classes/java
  [javac]
 
 /lucene/tmp2/contrib/instantiated/src/java/org/apache/lucene/store/instant
  iated/InstantiatedTermDocumentInformation.java:48:
  compareTo(org.apache.lucene.index.Term) in
  org.apache.lucene.index.Term cannot be applied to
  (org.apache.lucene.store.instantiated.InstantiatedTerm)
  [javac]   return
 
 instantiatedTermDocumentInformation.getTerm().getTerm().compareTo(instanti
  atedTermDocumentInformation1.getTerm());
  [javac] ^
  [javac] 1 error
 
 
  Is anyone else seeing this?
 
  Mike
 
  -
  To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
  For additional commands, e-mail: java-dev-h...@lucene.apache.org
 
 
 
 -
 To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
 For additional commands, e-mail: java-dev-h...@lucene.apache.org



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



Re: ant build-contrib fails on trunk?

2009-10-16 Thread Michael McCandless
OK thanks!

Mike

On Fri, Oct 16, 2009 at 1:09 PM, Uwe Schindler u...@thetaphi.de wrote:
 I'll fix, this is because of generics and compareTo(). I revert the change.

 -
 Uwe Schindler
 H.-H.-Meier-Allee 63, D-28213 Bremen
 http://www.thetaphi.de
 eMail: u...@thetaphi.de


 -Original Message-
 From: Michael McCandless [mailto:luc...@mikemccandless.com]
 Sent: Friday, October 16, 2009 7:01 PM
 To: java-dev@lucene.apache.org
 Subject: ant build-contrib fails on trunk?

 When I run ant build-contrib on current trunk, I hit this:

 compile-core:
     [javac] Compiling 1 source file to
 /lucene/tmp2/build/contrib/instantiated/classes/java
     [javac]
 /lucene/tmp2/contrib/instantiated/src/java/org/apache/lucene/store/instant
 iated/InstantiatedTermDocumentInformation.java:48:
 compareTo(org.apache.lucene.index.Term) in
 org.apache.lucene.index.Term cannot be applied to
 (org.apache.lucene.store.instantiated.InstantiatedTerm)
     [javac]       return
 instantiatedTermDocumentInformation.getTerm().getTerm().compareTo(instanti
 atedTermDocumentInformation1.getTerm());
     [javac]                                                         ^
     [javac] 1 error


 Is anyone else seeing this?

 Mike

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



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



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