You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2006/11/01 20:39:17 UTC

[jira] Resolved: (LUCENE-667) javacc skeleton files not regenerated

     [ http://issues.apache.org/jira/browse/LUCENE-667?page=all ]

Hoss Man resolved LUCENE-667.
-----------------------------

    Fix Version/s:     (was: 2.1)
       Resolution: Fixed

1) This patch seems to have been inlcuded in the patch to LUCENE-489 that Otis commited in r468291

2) Even before this change the build.xml's clean-javacc (a dependency for javacc) was deleting most of the files built by javacc ... this patch just made the list complete, which seems like a perfectly fine idea.

(if people were going to complain about loosing their manual tewaks, they would have complained about QueryParser.java or StandardTokenizer.java ... not CharStream.java)

> javacc skeleton files not regenerated
> -------------------------------------
>
>                 Key: LUCENE-667
>                 URL: http://issues.apache.org/jira/browse/LUCENE-667
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: QueryParser
>            Reporter: Steven Parkes
>         Assigned To: Steven Parkes
>            Priority: Minor
>         Attachments: javacc.patch
>
>
> Copies of the the character stream files for javacc are checked into svn. These files were generated under javacc 3.0 (at least that's what they say, though javacc 3.2 says this too). javacc 4 complains that they are out of date but won't replace them; they must be removed before it will regenerate them.
> There is one side effect of removing them: local changes are lost.  r387550 removed a couple of deprecated methods. By using the files as generated by javacc, these deprecated  methods will be readded (at least until the javacc team removes them totally). There are other changes being made to the stream files, so I woudl think it's better to live with them unmodified than to keep local versions just for this change.
> If we want javacc to recreate the files, the attached patch will remove them before running javacc.
> All the tests pass using both javacc3.2 and 4.0.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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