Nawab Zada Asad Iqbal
2017-07-24 14:31:38 UTC
[Subject changed for reposting]
Good morning,
If I want to change something in the lucene-solr/solr/core/src/java
/org/apache/solr/parser/QueryParser.jj, what is the workflow to generate
the new Java code?
Thanks
Nawab
Good morning,
If I want to change something in the lucene-solr/solr/core/src/java
/org/apache/solr/parser/QueryParser.jj, what is the workflow to generate
the new Java code?
Thanks
Nawab
ok, I see there is an `ant javacc` target in some folders, e.g.
1) lucene-solr/solr/build/solr/src-export/solr/core
2) lucene-solr/lucene/queryparser
Both of them use different parser files. I am interested in the
lucene-solr/solr/core/src/java/org/apache/solr/parser/QueryParser.jj
this apparently is getting dropped at: lucene-solr/solr/build/solr/sr
c-export/solr/core/src/java/org/apache/solr/parser/QueryParser.jj
However, I am not sure what target drops it!
Nawab
1) lucene-solr/solr/build/solr/src-export/solr/core
2) lucene-solr/lucene/queryparser
Both of them use different parser files. I am interested in the
lucene-solr/solr/core/src/java/org/apache/solr/parser/QueryParser.jj
this apparently is getting dropped at: lucene-solr/solr/build/solr/sr
c-export/solr/core/src/java/org/apache/solr/parser/QueryParser.jj
However, I am not sure what target drops it!
Nawab
Hi,
I know that we can make changes in the language by editing
QueryParser.jj, however, how does it get generated into java code? Is there
any ant target?
'compile' doesn't seem to generate java code for my changes (e.g., adding
lower case logical operators).
Regards
Nawab
I know that we can make changes in the language by editing
QueryParser.jj, however, how does it get generated into java code? Is there
any ant target?
'compile' doesn't seem to generate java code for my changes (e.g., adding
lower case logical operators).
Regards
Nawab