[ 
https://issues.apache.org/jira/browse/SOLR-2760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13104304#comment-13104304
 ] 

Simon Willnauer commented on SOLR-2760:
---------------------------------------

try run ant clean from the top level directory and then try the dist again

> Cannot "ant dist or ant example"
> --------------------------------
>
>                 Key: SOLR-2760
>                 URL: https://issues.apache.org/jira/browse/SOLR-2760
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Bill Bell
>
> Path: .
> URL: http://svn.apache.org/repos/asf/lucene/dev/trunk/solr
> Repository Root: http://svn.apache.org/repos/asf
> Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
> Revision: 1170435
> Node Kind: directory
> Schedule: normal
> Last Changed Author: chrism
> Last Changed Rev: 1170425
> Last Changed Date: 2011-09-13 21:36:56 -0600 (Tue, 13 Sep 2011)
> Then
> > ant dist or ant example
> compile-core:
>     [javac] Compiling 23 source files to 
> /Users/bill/solr/trunk/modules/queries/build/classes/java
>     [javac] 
> /Users/bill/solr/trunk/modules/queries/src/java/org/apache/lucene/queries/function/valuesource/NormValueSource.java:48:
>  warning: [unchecked] unchecked call to put(K,V) as a member of the raw type 
> java.util.Map
>     [javac]     context.put("searcher",searcher);
>     [javac]                ^
>     [javac] 
> /Users/bill/solr/trunk/modules/queries/src/java/org/apache/lucene/queries/function/valuesource/NormValueSource.java:61:
>  cannot find symbol
>     [javac] symbol  : class ConstDoubleDocValues
>     [javac] location: class 
> org.apache.lucene.queries.function.valuesource.NormValueSource
>     [javac]       return new ConstDoubleDocValues(0.0, this);
>     [javac]                  ^
>     [javac] 
> /Users/bill/solr/trunk/modules/queries/src/java/org/apache/lucene/queries/function/valuesource/NumDocsValueSource.java:40:
>  cannot find symbol
>     [javac] symbol  : class ConstIntDocValues
>     [javac] location: class 
> org.apache.lucene.queries.function.valuesource.NumDocsValueSource
>     [javac]     return new 
> ConstIntDocValues(ReaderUtil.getTopLevelContext(readerContext).reader.numDocs(),
>  this);
>     [javac]                ^
>     [javac] 
> /Users/bill/solr/trunk/modules/queries/src/java/org/apache/lucene/queries/function/valuesource/QueryValueSource.java:73:
>  warning: [unchecked] unchecked call to put(K,V) as a member of the raw type 
> java.util.Map
>     [javac]     context.put(this, w);
>     [javac]                ^
>     [javac] 
> /Users/bill/solr/trunk/modules/queries/src/java/org/apache/lucene/queries/function/valuesource/ScaleFloatFunction.java:96:
>  warning: [unchecked] unchecked call to put(K,V) as a member of the raw type 
> java.util.Map
>     [javac]     context.put(this.source, scaleInfo);
>     [javac]                ^
>     [javac] 
> /Users/bill/solr/trunk/modules/queries/src/java/org/apache/lucene/queries/function/valuesource/SumTotalTermFreqValueSource.java:68:
>  warning: [unchecked] unchecked call to put(K,V) as a member of the raw type 
> java.util.Map
>     [javac]     context.put(this, new LongDocValues(this) {
>     [javac]                ^
>     [javac] 
> /Users/bill/solr/trunk/modules/queries/src/java/org/apache/lucene/queries/function/valuesource/TotalTermFreqValueSource.java:68:
>  warning: [unchecked] unchecked call to put(K,V) as a member of the raw type 
> java.util.Map
>     [javac]     context.put(this, new LongDocValues(this) {
>     [javac]                ^
>     [javac] 2 errors
>     [javac] 5 warnings

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to