Dawid Weiss created LUCENE-6243:
-----------------------------------
Summary: jflex files are out of sync with the generated files
Key: LUCENE-6243
URL: https://issues.apache.org/jira/browse/LUCENE-6243
Project: Lucene - Core
Issue Type: Bug
Reporter: Dawid Weiss
Priority: Trivial
Fix For: Trunk
This kind of sucks I think -- there have been a few changes to generated Java
files that make the jflex sources out of sync. This means that if somebody
regenerates those files he or she has to apply the same changes manually again.
For example:
https://svn.apache.org/viewvc?view=revision&revision=r1625586
I understand some of these would require changes in jflex but just wanted to
raise the issue.
Also, ant jflex currently doesn't work for me on trunk:
{code}
cd lucene/analysis/common
ant jflex
-jflex-StandardAnalyzer:
[jflex] Generated: StandardTokenizerImpl.java
[jflex] Generated: ClassicTokenizerImpl.java
-jflex-UAX29URLEmailTokenizer:
[jflex] Generated: UAX29URLEmailTokenizerImpl.java
-jflex-wiki-tokenizer:
[jflex] Generated: WikipediaTokenizerImpl.java
generate-jflex-html-char-entities:
[exec] File "htmlentity.py", line 22
[exec] print get_apache_license()
[exec] ^
[exec] SyntaxError: invalid syntax
BUILD FAILED
C:\Work\lucene-solr-svn\trunk\lucene\analysis\common\build.xml:49: exec
returned: 1
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]