+1

From: Jack Krupansky [mailto:j...@basetechnology.com]
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:

compile-test:
     [echo] Building analyzers-common...
jflex-uptodate-check:
jflex-notice:
     [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

Reply via email to