Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-20491

"incompatibleImprovements" setting should be set

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 4.4.1.AM2
    • None
    • freemarker
    • None

      Where the freemarker.template.Configuration is created, the incompatibleImprovements setting shouldn't be left on its default, 2.3.0. It should be set to Configuration.getVersion() (like new Configuration(Configuration.getVersion()), or with config.setIncompatibleImprovements(Configuration.getVersion())).

      Why: The plugin doesn't execute the templates, just parses them. As of 2.3.24, all the "incompatible" fixes that affect the parser (not the execution) just makes it stricter by eliminating legacy parser glitches that let through things that are pretty much always just user oversights. Also when 2.3.24 is out, the new ftlh and ftlx file extensions, which affect parsing, will only have effect with incompatibleImprovements 2.3.24.

            nivologd@gmail.com Denis Golovin (Inactive)
            ddekany Daniel Dekany (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: