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