Hello Erik, The output from ant command is : C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3>ant Buildfile: build.xml init: [mkdir] Created dir: C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\build [mkdir] Created dir: C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\dist compile-core: [mkdir] Created dir: C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\build\classes\jav a [javac] Compiling 160 source files to C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\ build\classes\java [javac] C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\src\java\org\apache\lucene\ana lysis\standard\FastCharStream.java:106: warning: [deprecation] getLine() in org. apache.lucene.analysis.standard.CharStream has been deprecated [javac] public final int getLine() { [javac] ^ [javac] C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\src\java\org\apache\lucene\ana lysis\standard\FastCharStream.java:103: warning: [deprecation] getColumn() in or g.apache.lucene.analysis.standard.CharStream has been deprecated [javac] public final int getColumn() { [javac] ^ [javac] C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\src\java\org\apache\lucene\que ryParser\FastCharStream.java:106: warning: [deprecation] getLine() in org.apache .lucene.queryParser.CharStream has been deprecated [javac] public final int getLine() { [javac] ^ [javac] C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\src\java\org\apache\lucene\que ryParser\FastCharStream.java:103: warning: [deprecation] getColumn() in org.apac he.lucene.queryParser.CharStream has been deprecated [javac] public final int getColumn() { [javac] ^ [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 4 warnings [rmic] RMI Compiling 1 class to C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\build \classes\java jar-core: [jar] Building jar: C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\build\lucene-1.5 -rc1-dev.jar default: BUILD SUCCESSFUL Total time: 13 seconds
The output from ant -Djavacc.home=c:/javacc javacc command is: C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3>ant -Djavacc.home=c:/javacc javacc Buildfile: build.xml init: javacc-check: javacc-StandardAnalyzer: invoke-javacc: [java] Java Compiler Compiler Version 3.2 (Parser Generator) [java] (type "javacc" with no arguments for help) [java] Reading from file C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\src\java\org \apache\lucene\analysis\standard\StandardTokenizer.jj . . . [java] Note: UNICODE_INPUT option is specified. Please make sure you create the parser/lexer usig a Reader with the correct character encoding. [java] Parser generated successfully. [copy] Copying 3 files to C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\src\java\or g\apache\lucene\analysis\standard javacc-QueryParser: invoke-javacc: [java] Java Compiler Compiler Version 3.2 (Parser Generator) [java] (type "javacc" with no arguments for help) [java] Reading from file C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\src\java\org \apache\lucene\queryParser\QueryParser.jj . . . [java] Warning: Line 608, Column 3: Regular expression for WILDTERM can be matched by the empty string ("") in lexical state DEFAULT. This can result in an endless loop of empty string matches. [java] Parser generated with 0 errors and 1 warnings. javacc-HTMLParser: invoke-javacc: [java] Java Compiler Compiler Version 3.2 (Parser Generator) [java] (type "javacc" with no arguments for help) [java] Reading from file C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\src\demo\org \apache\lucene\demo\html\HTMLParser.jj . . . [java] Parser generated successfully. javacc: BUILD SUCCESSFUL Total time: 3 seconds And you told me to run the ant -Djavacc.home=c:/javacc clean javacc jar-core So i run that command after issuing ant command instead of ant -Djavacc.home=c:/javacc javacc. And the build for that was failed. And the output is: C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3>ant -Djavacc.home=c:/javacc clean javacc j ar-core Buildfile: build.xml clean: [delete] Deleting directory C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\build [delete] Deleting directory C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\dist init: [mkdir] Created dir: C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\build [mkdir] Created dir: C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\dist javacc-check: javacc-StandardAnalyzer: [mkdir] Created dir: C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\build\gen\org\apa che\lucene\analysis\standard invoke-javacc: [java] Java Compiler Compiler Version 3.2 (Parser Generator) [java] (type "javacc" with no arguments for help) [java] Reading from file C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\src\java\org \apache\lucene\analysis\standard\StandardTokenizer.jj . . . [java] Note: UNICODE_INPUT option is specified. Please make sure you create the parser/lexer usig a Reader with the correct character encoding. [java] File "TokenMgrError.java" does not exist. Will create one. [java] File "ParseException.java" does not exist. Will create one. [java] File "Token.java" does not exist. Will create one. [java] File "CharStream.java" does not exist. Will create one. [java] Parser generated successfully. [copy] Copying 6 files to C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\src\java\or g\apache\lucene\analysis\standard javacc-QueryParser: invoke-javacc: [java] Java Compiler Compiler Version 3.2 (Parser Generator) [java] (type "javacc" with no arguments for help) [java] Reading from file C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\src\java\org \apache\lucene\queryParser\QueryParser.jj . . . [java] Warning: Line 608, Column 3: Regular expression for WILDTERM can be matched by the empty string ("") in lexical state DEFAULT. This can result in an endless loop of empty string matches. [java] Parser generated with 0 errors and 1 warnings. javacc-HTMLParser: invoke-javacc: [java] Java Compiler Compiler Version 3.2 (Parser Generator) [java] (type "javacc" with no arguments for help) [java] Reading from file C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\src\demo\org \apache\lucene\demo\html\HTMLParser.jj . . . [java] Parser generated successfully. javacc: init: compile-core: [mkdir] Created dir: C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\build\classes\jav a [javac] Compiling 160 source files to C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\ build\classes\java [javac] C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\src\java\org\apache\lucene\ana lysis\standard\StandardTokenizer.java:15: cannot find symbol [javac] symbol : class Reader [javac] location: class org.apache.lucene.analysis.standard.StandardTokenize r [javac] public StandardTokenizer(Reader reader) { [javac] ^ [javac] C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\src\java\org\apache\lucene\ana lysis\standard\StandardTokenizer.java:24: cannot find symbol [javac] symbol : class IOException [javac] location: class org.apache.lucene.analysis.standard.StandardTokenize r [javac] final public org.apache.lucene.analysis.Token next() throws ParseE xception, IOException { [javac] ^ [javac] C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\src\java\org\apache\lucene\ana lysis\standard\FastCharStream.java:106: warning: [deprecation] getLine() in org. apache.lucene.analysis.standard.CharStream has been deprecated [javac] public final int getLine() { [javac] ^ [javac] C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\src\java\org\apache\lucene\ana lysis\standard\FastCharStream.java:103: warning: [deprecation] getColumn() in or g.apache.lucene.analysis.standard.CharStream has been deprecated [javac] public final int getColumn() { [javac] ^ [javac] C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\src\java\org\apache\lucene\ana lysis\standard\StandardTokenizer.java:15: recursive constructor invocation [javac] public StandardTokenizer(Reader reader) { [javac] ^ [javac] C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\src\java\org\apache\lucene\que ryParser\FastCharStream.java:106: warning: [deprecation] getLine() in org.apache .lucene.queryParser.CharStream has been deprecated [javac] public final int getLine() { [javac] ^ [javac] C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\src\java\org\apache\lucene\que ryParser\FastCharStream.java:103: warning: [deprecation] getColumn() in org.apac he.lucene.queryParser.CharStream has been deprecated [javac] public final int getColumn() { [javac] ^ [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 3 errors [javac] 4 warnings BUILD FAILED Thanx, MTREDDY Tirupati Reddy Manyam 24-06-08, Sundugaullee-24, 79110 Freiburg GERMANY. Phone: 00497618811257 cell : 004917624649007 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com