>OK. I see. The Javacc doesn't check for the file update and would cause
>such problems.

Actually, that wasn't it.  The JavaCC task is perfectly well behaved; it 
was the Java compilation task that was causing the problem.  Its because 
the src.base variable pointed to ant.build/src/com instead of ant.build/src 
(or something like that.)  javac would find files whose relative path was 
"lucene/index/blah", find no class file called lucene/index/blah.class, and 
recomple.  Since the location is determined by the package name, not the 
input file, it would write it to com/lucene/index/blah.class, and next time 
would repeat the process.

This is a very common ant configuration problem; you've got to get your 
paths exactly right or ANT will recompile unnecessarily.



--
Brian Goetz
Quiotix Corporation
[EMAIL PROTECTED]           Tel: 650-843-1300            Fax: 650-324-8032

http://www.quiotix.com


_______________________________________________
Lucene-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/lucene-dev

Reply via email to