Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-2600

Usage of deprecated configuration properties in Velocity

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.9.0, 1.9.1
    • 1.10.0
    • java
    • None

    Description

      https://issues.apache.org/jira/browse/AVRO-2541 bumped Velocity Engine from 2.0 to 2.1.

      This has caused a group of deprecation warnings to appear

      configuration key 'resource.loader' has been deprecated in favor of 'resource.loaders'
      configuration key 'class.resource.loader.class' has been deprecated in favor of 'resource.loader.class.class'
      configuration key 'file.resource.loader.class' has been deprecated in favor of 'resource.loader.file.class'
      configuration key 'file.resource.loader.path' has been deprecated in favor of 'resource.loader.file.path'
      configuration key 'runtime.references.strict' has been deprecated in favor of 'runtime.strict_mode.enable'
      configuration key 'space.gobbling' has been deprecated in favor of 'parser.space_gobbling'

      Update properties used according to https://velocity.apache.org/engine/devel/configuration-property-changes-in-2.1.html

       

      https://github.com/apache/avro/blob/master/lang/java/compiler/src/main/java/org/apache/avro/compiler/specific/SpecificCompiler.java#L335

      Attachments

        Issue Links

          Activity

            People

              sigand Sigrid Andersson
              sigand Sigrid Andersson
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: