Re: SearchFiles demo fails with exception while IndexFiles works

2009-10-28 Thread s rajan
Mike, thanks for that URL, I saw a similar issue being discussed on stackoverflow. I am doing an external ant build and trying to debug through eclipse. For some reason eclipse is failing to import the ant build file as a project so i use a debug configuration and build externally. I now have the

Re: SearchFiles demo fails with exception while IndexFiles works

2009-10-28 Thread Michael McCandless
Are you using an IDE (Eclipse)? This may help?: http://forums.java.net/jive/thread.jspa?messageID=363989 Or maybe try building from the command line instead ("ant compile-demo")? Mike On Tue, Oct 27, 2009 at 8:34 PM, s rajan wrote: > hi, I am playing with lucene 2.9.0 source build, ant 1.7.

SearchFiles demo fails with exception while IndexFiles works

2009-10-27 Thread s rajan
hi, I am playing with lucene 2.9.0 source build, ant 1.7.1, jdk1.6.0, win XP home edition. I dont have clover or jFlex installed. I built the srcs and ran IndexFiles demo and that worked. However when I run SearchFiles I have an exception that says: Exception in thread "main" java.lang.Error: Unres