lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven A Rowe <>
Subject RE: Spurious JFlex warning from build
Date Fri, 08 Jun 2012 18:00:00 GMT

From: Jack Krupansky []
Sent: Friday, June 08, 2012 1:48 PM
To: Lucene/Solr Dev
Subject: Spurious JFlex warning from build

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