On Wednesday, September 10, 2003, at 05:40 AM, Otis Gospodnetic wrote:
I think it would make sense to use version 3.0 of JavaCC, which is the
latest version, I believe.

Ok, I'm at JavaCC 3.2 and all is now well. JavaCC is no longer required to build Lucene - I've checked in changes to accommodate this.


See also:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19468

This issue has now been closed.


By default, the build is using the latest JavaCC. I installed JavaCC in my jakarta-lucene directory and here is my build.properties file:

javacc.home=${basedir}/javacc-3.2

By putting the right Main class for JavaCC in build.properties as the property javacc.main.class you should be able to override which version of JavaCC is used. I punted on the whole <javacc> Ant task thing and just took the command-line it was using (use ant -debug to see this from <javacc>, but I looked at Ant's source). To do the JavaCC generation you now have to explicitly run the "javacc" Ant target. I borrowed some pieces from the patches in issue 19468.

Let me know if anything is fishy with the build and I will take care of it. There are lots of little cleanup things I'd like to do with the build process, but I'll wait until things stabilize from this big change.

And if Jon is no longer listening, maybe I'll deal with that painful default.properties thing my own way soon :))

Erik


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to