lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Bell <billnb...@gmail.com>
Subject Re: [jira] Resolved: (SOLR-2426) Build failing
Date Wed, 16 Mar 2011 03:55:59 GMT
THis started working when I did the following:

#cd C:\Users\bbell\solr
#ant compile
#cd solr
#ant example

If I did a direct "ant example" it was giving the errors below. I'll
double check my java version too.

On 3/15/11 5:53 AM, "Robert Muir (JIRA)" <jira@apache.org> wrote:

>
>     [ 
>https://issues.apache.org/jira/browse/SOLR-2426?page=com.atlassian.jira.pl
>ugin.system.issuetabpanels:all-tabpanel ]
>
>Robert Muir resolved SOLR-2426.
>-------------------------------
>
>    Resolution: Not A Problem
>
>Trunk requires java 6.
>
>> Build failing
>> -------------
>>
>>                 Key: SOLR-2426
>>                 URL: https://issues.apache.org/jira/browse/SOLR-2426
>>             Project: Solr
>>          Issue Type: Bug
>>            Reporter: Bill Bell
>>
>> ant clean
>> ant example
>> trunk
>>     [javac]              ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\DocSetHitCo
>> llector.java:77: incompatible types
>>     [javac] found   : org.apache.solr.search.BitDocSet
>>     [javac] required: org.apache.solr.search.DocSet
>>     [javac]       return new BitDocSet(bits,pos);
>>     [javac]              ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\DocSetHitCo
>> llector.java:132: incompatible types
>>     [javac] found   : org.apache.solr.search.SortedIntDocSet
>>     [javac] required: org.apache.solr.search.DocSet
>>     [javac]       return new SortedIntDocSet(scratch, pos);
>>     [javac]              ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\DocSetHitCo
>> llector.java:136: incompatible types
>>     [javac] found   : org.apache.solr.search.BitDocSet
>>     [javac] required: org.apache.solr.search.DocSet
>>     [javac]       return new BitDocSet(bits,pos);
>>     [javac]              ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\DocSlice.ja
>> va:26: org.apache.solr.search.DocSlice is not abstract and does not
>>override abs
>> tract method getTopFilter() in org.apache.solr.search.DocSet
>>     [javac] public class DocSlice extends DocSetBase implements DocList
>>{
>>     [javac]        ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\DocSlice.ja
>> va:54: incompatible types
>>     [javac] found   : org.apache.solr.search.DocSlice
>>     [javac] required: org.apache.solr.search.DocList
>>     [javac]     if (this.offset == offset && this.len==len) return this;
>>     [javac]                                                        ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\DocSlice.ja
>> va:62: incompatible types
>>     [javac] found   : org.apache.solr.search.DocSlice
>>     [javac] required: org.apache.solr.search.DocList
>>     [javac]     if (this.offset == offset && this.len == realLen)
>>return this;
>>     [javac]     
>> ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\DocSlice.ja
>> va:63: incompatible types
>>     [javac] found   : org.apache.solr.search.DocSlice
>>     [javac] required: org.apache.solr.search.DocList
>>     [javac]     return new DocSlice(offset, realLen, docs, scores,
>>matches, maxS
>> core);
>>     [javac]            ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\DocSlice.ja
>> va:130: intersection(org.apache.solr.search.DocSet) in
>>org.apache.solr.search.Do
>> cSet cannot be applied to (org.apache.solr.search.DocSlice)
>>     [javac]       return other.intersection(this);
>>     [javac]                   ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\DocSlice.ja
>> va:139: intersectionSize(org.apache.solr.search.DocSet) in
>>org.apache.solr.searc
>> h.DocSet cannot be applied to (org.apache.solr.search.DocSlice)
>>     [javac]       return other.intersectionSize(this);
>>     [javac]                   ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\ExtendedDis
>> maxQParserPlugin.java:829: warning: [unchecked] unchecked conversion
>>     [javac] found   : java.util.List
>>     [javac] required:
>>java.util.List<org.apache.lucene.search.BooleanClause>
>>     [javac]       Query q = super.getBooleanQuery(clauses,
>>disableCoord);
>>     [javac]                                       ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\ExtendedDis
>> maxQParserPlugin.java:845: warning: [unchecked] unchecked conversion
>>     [javac] found   : java.util.List
>>     [javac] required:
>>java.util.List<org.apache.lucene.search.BooleanClause>
>>     [javac]       super.addClause(clauses, conj, mods, q);
>>     [javac]                       ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\FastLRUCach
>> e.java:107: warning: [unchecked] unchecked cast
>>     [javac] found   : java.lang.Object
>>     [javac] required:
>>java.util.List<org.apache.solr.common.util.ConcurrentLRUCa
>> che.Stats>
>>     [javac]     statsList = (List<ConcurrentLRUCache.Stats>)
>>persistence;
>>     [javac]                                                  ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\FastLRUCach
>> e.java:263: warning: [unchecked] unchecked cast
>>     [javac] found   : java.util.Set
>>     [javac] required: java.util.Set<java.util.Map.Entry>
>>     [javac]       for (Map.Entry e : (Set <Map.Entry>)items.entrySet())
>>{
>>     [javac]                                                         ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\Grouping.ja
>> va:61: warning: [unchecked] unchecked call to add(java.lang.String,T)
>>as a membe
>> r of the raw type org.apache.solr.common.util.NamedList
>>     [javac]       grouped.add(key, groupResult);  // grouped={ key={
>>     [javac]                  ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\Grouping.ja
>> va:64: warning: [unchecked] unchecked call to add(java.lang.String,T)
>>as a membe
>> r of the raw type org.apache.solr.common.util.NamedList
>>     [javac]       groupResult.add("matches", this_matches);
>>     [javac]                      ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\Grouping.ja
>> va:100: incompatible types
>>     [javac] found   : org.apache.solr.search.DocSlice
>>     [javac] required: org.apache.solr.search.DocList
>>     [javac]       return docs;
>>     [javac]              ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\Grouping.ja
>> va:104: warning: [unchecked] unchecked call to add(java.lang.String,T)
>>as a memb
>> er of the raw type org.apache.solr.common.util.NamedList
>>     [javac]       rsp.add("doclist", getDocList(collector));
>>     [javac]              ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\Grouping.ja
>> va:206: warning: [unchecked] unchecked call to add(java.lang.String,T)
>>as a memb
>> er of the raw type org.apache.solr.common.util.NamedList
>>     [javac]         groupResult.add("doclist", createSimpleResponse());
>>     [javac]                        ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\Grouping.ja
>> va:211: warning: [unchecked] unchecked call to add(java.lang.String,T)
>>as a memb
>> er of the raw type org.apache.solr.common.util.NamedList
>>     [javac]       groupResult.add("groups", groupList);        //
>>grouped={ key=
>> { groups=[
>>     [javac]                      ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\Grouping.ja
>> va:225: warning: [unchecked] unchecked call to add(E) as a member of
>>the raw typ
>> e java.util.List
>>     [javac]         groupList.add(nl);                         //
>>grouped={ key=
>> { groups=[ {
>>     [javac]                      ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\Grouping.ja
>> va:282: incompatible types
>>     [javac] found   : org.apache.solr.search.DocSlice
>>     [javac] required: org.apache.solr.search.DocList
>>     [javac]       return docs;
>>     [javac]              ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\Grouping.ja
>> va:410: setDocList(org.apache.solr.search.DocList) in
>>org.apache.solr.search.Sol
>> rIndexSearcher.QueryResult cannot be applied to
>>(org.apache.solr.search.DocSlice
>> )
>>     [javac]       qr.setDocList(new DocSlice(0, sz, ids, null,
>>maxMatches, maxSc
>> ore));
>>     [javac]         ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\HashDocSet.
>> java:164: incompatible types
>>     [javac] found   : org.apache.solr.search.HashDocSet
>>     [javac] required: org.apache.solr.search.DocSet
>>     [javac]      return new HashDocSet(result,0,resultCount);
>>     [javac]             ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\HashDocSet.
>> java:176: incompatible types
>>     [javac] found   : org.apache.solr.search.HashDocSet
>>     [javac] required: org.apache.solr.search.DocSet
>>     [javac]      return new HashDocSet(result,0,resultCount);
>>     [javac]             ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\HashDocSet.
>> java:148: method does not override or implement a method from a
>>supertype
>>     [javac]   @Override
>>     [javac]   ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\HashDocSet.
>> java:181: method does not override or implement a method from a
>>supertype
>>     [javac]   @Override
>>     [javac]   ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\HashDocSet.
>> java:222: incompatible types
>>     [javac] found   : org.apache.solr.search.HashDocSet
>>     [javac] required: org.apache.solr.search.DocSet
>>     [javac]     return new HashDocSet(result,0,resultCount);
>>     [javac]            ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\HashDocSet.
>> java:211: method does not override or implement a method from a
>>supertype
>>     [javac]   @Override
>>     [javac]   ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\HashDocSet.
>> java:246: incompatible types
>>     [javac] found   : org.apache.solr.search.HashDocSet
>>     [javac] required: org.apache.solr.search.DocSet
>>     [javac]      return new HashDocSet(result,0,resultCount);
>>     [javac]             ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\HashDocSet.
>> java:248: union(org.apache.solr.search.DocSet) in
>>org.apache.solr.search.DocSet
>> cannot be applied to (org.apache.solr.search.HashDocSet)
>>     [javac]      return other.union(this);
>>     [javac]                  ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\HashDocSet.
>> java:225: method does not override or implement a method from a
>>supertype
>>     [javac]   @Override
>>     [javac]   ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\SortedIntDo
>> cSet.java:329: incompatible types
>>     [javac] found   : org.apache.solr.search.SortedIntDocSet
>>     [javac] required: org.apache.solr.search.DocSet
>>     [javac]       return new SortedIntDocSet(arr,icount);
>>     [javac]              ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\SortedIntDo
>> cSet.java:336: incompatible types
>>     [javac] found   : org.apache.solr.search.SortedIntDocSet
>>     [javac] required: org.apache.solr.search.DocSet
>>     [javac]     return new SortedIntDocSet(arr,sz);
>>     [javac]            ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\SortedIntDo
>> cSet.java:320: method does not override or implement a method from a
>>supertype
>>     [javac]   @Override
>>     [javac]   ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\SortedIntDo
>> cSet.java:448: incompatible types
>>     [javac] found   : org.apache.solr.search.SortedIntDocSet
>>     [javac] required: org.apache.solr.search.DocSet
>>     [javac]     if (other.size()==0) return this;
>>     [javac]                                 ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\SortedIntDo
>> cSet.java:457: incompatible types
>>     [javac] found   : org.apache.solr.search.SortedIntDocSet
>>     [javac] required: org.apache.solr.search.DocSet
>>     [javac]       return new SortedIntDocSet(arr,count);
>>     [javac]              ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\SortedIntDo
>> cSet.java:463: incompatible types
>>     [javac] found   : org.apache.solr.search.SortedIntDocSet
>>     [javac] required: org.apache.solr.search.DocSet
>>     [javac]     return new SortedIntDocSet(arr,sz);
>>     [javac]            ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\SortedIntDo
>> cSet.java:446: method does not override or implement a method from a
>>supertype
>>     [javac]   @Override
>>     [javac]   ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\SortedIntDo
>> cSet.java:519: method does not override or implement a method from a
>>supertype
>>     [javac]   @Override
>>     [javac]   ^
>>     [javac] 
>>C:\Users\bbell\solr\solr\src\java\org\apache\solr\search\SortedIntDo
>> cSet.java:549: method does not override or implement a method from a
>>supertype
>>     [javac]   @Override
>>     [javac]   ^
>>     [javac] Note: Some input files use or override a deprecated API.
>>     [javac] Note: Recompile with -Xlint:deprecation for details.
>>     [javac] Note: Some input files additionally use unchecked or unsafe
>>operatio
>> ns.
>>     [javac] 56 errors
>>     [javac] 100 warnings
>> BUILD FAILED
>> C:\Users\bbell\solr\solr\common-build.xml:502: The following error
>>occurred whil
>> e executing this line:
>> C:\Users\bbell\solr\solr\common-build.xml:322: The following error
>>occurred whil
>> e executing this line:
>> C:\Users\bbell\solr\solr\contrib\analysis-extras\build.xml:95: The
>>following err
>> or occurred while executing this line:
>> C:\Users\bbell\solr\solr\build.xml:155: The following error occurred
>>while execu
>> ting this line:
>> C:\Users\bbell\solr\solr\common-build.xml:276: Compile failed; see the
>>compiler
>> error output for details.
>> Total time: 17 seconds
>
>--
>This message is automatically generated by JIRA.
>For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>For additional commands, e-mail: dev-help@lucene.apache.org
>



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


Mime
View raw message