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

Rebuilding parser using javacc 4.1 loses Node import

    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

        1. build.xml-parser-imports-v3.patch
          0.7 kB
          Mike Kienenberger

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: