You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Arun C Murthy (JIRA)" <ji...@apache.org> on 2010/10/05 02:52:32 UTC

[jira] Updated: (AVRO-676) Avro IDL can't process includes from disparate src trees

     [ https://issues.apache.org/jira/browse/AVRO-676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arun C Murthy updated AVRO-676:
-------------------------------

    Attachment: AVRO-676.patch

Illustrative patch... seems to work for me. 

> Avro IDL can't process includes from disparate src trees
> --------------------------------------------------------
>
>                 Key: AVRO-676
>                 URL: https://issues.apache.org/jira/browse/AVRO-676
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.4.0
>            Reporter: Arun C Murthy
>         Attachments: AVRO-676.patch
>
>
> 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";
>   ...
> }.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.