lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Busch (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1829) 'ant javacc' in root project should also properly create contrib/queryparser Java files
Date Fri, 21 Aug 2009 15:24:14 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-1829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12746016#action_12746016
] 

Michael Busch commented on LUCENE-1829:
---------------------------------------

I deleted my contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/parser/ParseException.java.

When I run now ant javacc after applying this patch I'm getting:

{noformat}
javacc:
[replaceregexp] The following file is missing: '/Users/buschmi/work/svn/lucene/trunk/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/parser/ParseException.java'
[replaceregexp] The following file is missing: '/Users/buschmi/work/svn/lucene/trunk/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/parser/ParseException.java'
[replaceregexp] The following file is missing: '/Users/buschmi/work/svn/lucene/trunk/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/parser/ParseException.java'
[replaceregexp] The following file is missing: '/Users/buschmi/work/svn/lucene/trunk/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/parser/ParseException.java'
[replaceregexp] The following file is missing: '/Users/buschmi/work/svn/lucene/trunk/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/parser/ParseException.java'
[replaceregexp] The following file is missing: '/Users/buschmi/work/svn/lucene/trunk/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/parser/ParseException.java'
[replaceregexp] The following file is missing: '/Users/buschmi/work/svn/lucene/trunk/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/parser/ParseException.java'
{noformat}

At the end the ParseException.java is still missing, so it wasn't regenerated. Shouldn't this
work now?

> 'ant javacc' in root project should also properly create contrib/queryparser Java files
> ---------------------------------------------------------------------------------------
>
>                 Key: LUCENE-1829
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1829
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: contrib/*
>    Affects Versions: 2.9
>            Reporter: Jan-Pascal
>            Assignee: Michael Busch
>            Priority: Minor
>             Fix For: 2.9
>
>         Attachments: contrib-queryparser-javacc.patch, LUCENE-1829.patch
>
>
> 'ant javacc' in the project root doesn't run javacc in contrib/queryparser
> 'ant javacc' in contrib/queryparser does not properly create the Java files. What still
needs to be done by hand is (partly!) described in contrib/queryparser/README.javacc. I think
this process should be automated. Patch provided.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message