Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-862

Rebuilding parser using javacc 4.1 loses Node import

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.x, 2.0
    • Component/s: Build
    • Labels:
      None
    • Flags:
      Patch

      Description

      JavaCC 4.2 loses the "org.apache.velocity.runtime.parser.node.Node" import for JJTParserState.java when rebuilding the parser.

      Adding nodepackage="org.apache.velocity.runtime.parser.node" to the jjtree ant task in the build script will add the following import automatically which is better than no import or manually adding the import later:

      import org.apache.velocity.runtime.parser.*;

        Attachments

          Activity

            People

            • Assignee:
              cbrisson Claude Brisson
              Reporter:
              mkienenb Mike Kienenberger

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment