apache / lucene

Apache Lucene open-source search software
https://lucene.apache.org/
Apache License 2.0
2.69k stars 1.04k forks source link

nighly build should regen all gen'd sources [LUCENE-2291] #3367

Open asfimport opened 14 years ago

asfimport commented 14 years ago

Just opening an issue to track this (idea was spun out of LUCENE-2285)... I don't have time to work on it now...

We have a number of sources that are generated (eg using tools like JFlex, JavaCC.

I think we should strive to have the nightly build recreate these files, if possible. This would help us catch mistakes more quickly, eg where we accidentally make a fix to the generated file.

We'd have to get jflex/javacc/etc. installed onto lucene.zones to do this (not sure if they are already).


Migrated from LUCENE-2291 by Michael McCandless (@mikemccand), updated May 04 2010

asfimport commented 14 years ago

Uwe Schindler (@uschindler) (migrated from JIRA)

For the JFlex parsers we have to wait until my patch is committed (#3150) that uses jflex 1.5 trunk. Else we must use Java version 1.4 to regenerate the sources.

Else I could take care of updating hudson and adding the tasks to the nightly.sh