lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pol, Parikshit" <parik...@amazon.com>
Subject RE: Issues while doing ant on lucene source
Date Wed, 16 Nov 2005 22:09:55 GMT
I had an old installation of ant causing the problems. I had to remove the /use/share/ant folder
to make it working.
Thanks for your input.
 

-----Original Message-----
From: Greg K [mailto:gregak@gmail.com] 
Sent: Wednesday, November 16, 2005 12:43 PM
To: java-user@lucene.apache.org
Subject: Re: Issues while doing ant on lucene source

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
>
>

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


Mime
View raw message