lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg K <gre...@gmail.com>
Subject Re: Issues while doing ant on lucene source
Date Wed, 16 Nov 2005 20:43:29 GMT
Parikshit,

TStamp (timestamp) is a core Ant task - so it should be recognized. What
version of Ant do you have?

Greg

On 11/16/05, Pol, Parikshit <parikpol@amazon.com> wrote:
>
> Hi Folks.
> I downloaded the Lucene and tried to do an ant. It initially gave me the
> following error:
> BUILD FAILED
> file:/home/parikpol/downloads/lucene-1.4.3/build.xml:11: Unexpected
> element "tstamp"
>
> I commented out the tstamp tag from build.xml, and now it gives me the
> following errors:
> compile-core:
> [javac] Compiling 160 source files to /home/parikpol/downloads/lucene-
> 1.4.3/build/classes/java
> [javac] /home/parikpol/downloads/lucene-1.4.3/src/java/org/apache/lucene/search/FieldCacheImpl.java:236:
> error: Type `StringIndex' not found in the declaration of the return type of
> method `getStringIndex'.
> [javac] public StringIndex getStringIndex (IndexReader reader, String
> field)
> [javac] ^
> [javac] /home/parikpol/downloads/lucene-1.4.3/src/java/org/apache/lucene/search/FieldCacheImpl.java:291:
> error: Type `StringIndex' not found in the declaration of the local variable
> `value'.
> [javac] StringIndex value = new StringIndex (retArray, mterms);
> [javac] ^
> [javac] 2 errors, 5 warnings
>
> Any help would be appreciated.
> Thanks.
> Parik
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message