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:[EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]