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

Rebuilding parser using javacc 4.1 loses Node import

    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

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: