Naruto TAKAHASHI created AVRO-1955:
--------------------------------------
Summary: avrogen.exe supports only windows platform
Key: AVRO-1955
URL: https://issues.apache.org/jira/browse/AVRO-1955
Project: Avro
Issue Type: Bug
Components: csharp
Reporter: Naruto TAKAHASHI
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
(v6.3.4#6332)