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

Impossible to use non-default velocity templates

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.2, 1.6.3
    • 1.7.0
    • java
    • None

    Description

      It is effectively impossible to use a non-default velocity template for Avro compilation via the Maven plugin because the plugin's classloader only gives you access to its classpath and its dependencies classpath.

      This can be fixed by adding more resource loaders to Velocity in AvroCompiler.java.

      I'll update this with a patch soon.

      Attachments

        1. AVRO-1094.patch
          5 kB
          Ed Kohlwey
        2. AVRO-1094.patch
          5 kB
          Doug Cutting
        3. AVRO-1094.patch
          2 kB
          Ed Kohlwey
        4. AVRO-1094.patch.2
          4 kB
          Ed Kohlwey

        Activity

          People

            ekohlwey Ed Kohlwey
            ekohlwey Ed Kohlwey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified