Bug#773829: lucene4: JavaCC parsers are not generated during the build

Emmanuel Bourg ebourg at apache.org
Tue Dec 23 19:57:12 UTC 2014


Source: lucene4
Version: 1:4.6.1+dfsg-2
Severity: serious

The lucene4 package contains several pre-generated Java files created by JavaCC.
These files should be at least regenerated during the build and maybe removed
from the upstream tarball like the lucene-solr package.

ebourg at icare:~/packaging/lucene4$ grep -R 'Generated By:JavaCC'
queryparser/src/java/org/apache/lucene/queryparser/flexible/standard/parser/TokenMgrError.java:/* Generated By:JavaCC: Do not edit this line. TokenMgrError.java Version 5.0 */
queryparser/src/java/org/apache/lucene/queryparser/flexible/standard/parser/CharStream.java:/* Generated By:JavaCC: Do not edit this line. CharStream.java Version 5.0 */
queryparser/src/java/org/apache/lucene/queryparser/flexible/standard/parser/StandardSyntaxParser.java:/* Generated By:JavaCC: Do not edit this line. StandardSyntaxParser.java */
queryparser/src/java/org/apache/lucene/queryparser/flexible/standard/parser/StandardSyntaxParserConstants.java:/* Generated By:JavaCC: Do not edit this line. StandardSyntaxParserConstants.java */
queryparser/src/java/org/apache/lucene/queryparser/flexible/standard/parser/StandardSyntaxParserTokenManager.java:/* Generated By:JavaCC: Do not edit this line. StandardSyntaxParserTokenManager.java */
queryparser/src/java/org/apache/lucene/queryparser/flexible/standard/parser/Token.java:/* Generated By:JavaCC: Do not edit this line. Token.java Version 5.0 */
queryparser/src/java/org/apache/lucene/queryparser/flexible/standard/parser/ParseException.java:/* Generated By:JavaCC: Do not edit this line. ParseException.java Version 5.0 */
queryparser/src/java/org/apache/lucene/queryparser/classic/QueryParser.java:/* Generated By:JavaCC: Do not edit this line. QueryParser.java */
queryparser/src/java/org/apache/lucene/queryparser/classic/TokenMgrError.java:/* Generated By:JavaCC: Do not edit this line. TokenMgrError.java Version 5.0 */
queryparser/src/java/org/apache/lucene/queryparser/classic/CharStream.java:/* Generated By:JavaCC: Do not edit this line. CharStream.java Version 5.0 */
queryparser/src/java/org/apache/lucene/queryparser/classic/QueryParserConstants.java:/* Generated By:JavaCC: Do not edit this line. QueryParserConstants.java */
queryparser/src/java/org/apache/lucene/queryparser/classic/Token.java:/* Generated By:JavaCC: Do not edit this line. Token.java Version 5.0 */
queryparser/src/java/org/apache/lucene/queryparser/classic/ParseException.java:/* Generated By:JavaCC: Do not edit this line. ParseException.java Version 5.0 */
queryparser/src/java/org/apache/lucene/queryparser/classic/QueryParserTokenManager.java:/* Generated By:JavaCC: Do not edit this line. QueryParserTokenManager.java */
queryparser/src/java/org/apache/lucene/queryparser/surround/parser/QueryParser.java:/* Generated By:JavaCC: Do not edit this line. QueryParser.java */
queryparser/src/java/org/apache/lucene/queryparser/surround/parser/TokenMgrError.java:/* Generated By:JavaCC: Do not edit this line. TokenMgrError.java Version 5.0 */
queryparser/src/java/org/apache/lucene/queryparser/surround/parser/CharStream.java:/* Generated By:JavaCC: Do not edit this line. CharStream.java Version 5.0 */
queryparser/src/java/org/apache/lucene/queryparser/surround/parser/QueryParserConstants.java:/* Generated By:JavaCC: Do not edit this line. QueryParserConstants.java */
queryparser/src/java/org/apache/lucene/queryparser/surround/parser/Token.java:/* Generated By:JavaCC: Do not edit this line. Token.java Version 5.0 */
queryparser/src/java/org/apache/lucene/queryparser/surround/parser/ParseException.java:/* Generated By:JavaCC: Do not edit this line. ParseException.java Version 5.0 */
queryparser/src/java/org/apache/lucene/queryparser/surround/parser/QueryParserTokenManager.java:/* Generated By:JavaCC: Do not edit this line. QueryParserTokenManager.java */



More information about the pkg-java-maintainers mailing list