On Tue, Oct 15, 2013 at 3:21 PM, William McKenzie
<[EMAIL PROTECTED]> wrote:
> Is it possible to generate code for multiple schemas at one time, and
> resolve references between them?
The command line 'compile' tool and maven task both support this. One
can pass multiple schema files on the command line, and each can
reference schemas that precede it on the command line.
With Maven, you can specify imports. See
https://issues.apache.org/jira/browse/AVRO-1188 for details.
> I tried using an avpr file, and it did not seem to like that.
With a .avpr file you can place multiple schemas in its "types"
section, leaving the messages section empty.
With an .avdl file you can import other .avsc, .avpr and .avdl files.