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

Avro IDL can't process includes from disparate src trees

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.4.0
    • None
    • java
    • None

    Description

      AVRO-495 introduced support from includes in IDL. However it turns out that a bug in the implementation, which assumes that the path for the included path is in the same src tree causes it to not support includes from different source trees.

      E.g.

      src/foo/main/avro/a.genavro
      // something here

      ...

      src/foobar/main/avro/b.genavro

      protocol foobar {
      import idl "src/foo/main/avro/a.genavro";
      ...
      }.

      Attachments

        1. AVRO-676.patch
          0.4 kB
          Doug Cutting
        2. AVRO-676.patch
          0.6 kB
          Arun Murthy

        Issue Links

          Activity

            People

              Unassigned Unassigned
              acmurthy Arun Murthy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: