lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Krupansky" <>
Subject Spurious JFlex warning from build
Date Fri, 08 Jun 2012 17:47:50 GMT
I happened to notice the following message in an ant test today:

     [echo] Building analyzers-common...
     [echo]       One or more of the JFlex .jflex files is newer than its corresponding
     [echo]       .java file.  Run the "jflex" target to regenerate the artifacts.

It is a spurious warning/directive because HTMLCharacterEntities.jflex doesn’t have a matching
.java file since it is a “macro” referenced by HTMLStripCharFilter.jflex.

I am wondering if it makes sense to rename HTMLCharacterEntities.jflex to HTMLCharacterEntities.jflex-macro
(like HTMLStripCharFilter.SUPPLEMENTARY.jflex-macro) to avoid the misleading build warning/directive.

-- Jack Krupansky
View raw message