You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2018/12/10 17:49:00 UTC
[jira] [Resolved] (AVRO-1955) avrogen.exe supports only windows
platform
[ https://issues.apache.org/jira/browse/AVRO-1955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved AVRO-1955.
-------------------------------
Resolution: Fixed
Assignee: Daniel Kulp
Fix Version/s: 1.9.0
> avrogen.exe supports only windows platform
> ------------------------------------------
>
> Key: AVRO-1955
> URL: https://issues.apache.org/jira/browse/AVRO-1955
> Project: Apache Avro
> Issue Type: Bug
> Components: csharp
> Reporter: Naruto TAKAHASHI
> Assignee: Daniel Kulp
> Priority: Major
> Fix For: 1.9.0
>
>
> avrogen.exe output directory path separator is '\' .
> When executing avrogen.exe on macOS or Linux, output directory path is not expected.
> e.g. sample.avsc
> {code:javascript}
> {
> "type": "record",
> "name": "ExampleModel",
> "namespace": "com.example",
> "fields": [
> {
> "name": "num",
> "type": "long"
> },
> {
> "name": "str",
> "type": "string"
> }
> ]
> }
> {code}
> {code}
> mono ./build/codegen/Release/avrogen.exe -s sample.avsc output
> {code}
> avrogen.exe outputs below two regular files.
> - "output\com\example"
> - "output\com\example\ExampleModel.cs"
> avrogen.exe should use Path API of .NET when creating output directory path.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)