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

Rebuilding parser using javacc 4.1 loses Node import

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

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.x, 2.0
    • Build
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            cbrisson Claude Brisson
            mkienenb Mike Kienenberger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment