[ 
https://issues.apache.org/jira/browse/AVRO-1420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13864831#comment-13864831
 ] 

Sid S commented on AVRO-1420:
-----------------------------

Thanks Doug.

By the way, can you comment on the IDL => Schema => auto-gen'd classes steps 
seen in https://github.com/sidshetye/HelloAvro/blob/master/code-gen.bat ? I 
want to ensure that if I'm putting any public info on GitHub it's "per best 
practices". Right now I'm jumping through two automatic steps as follows:

REM Step 1 IDL => Schema
java -jar Avro\Tools\java\avro-tools-1.7.5.jar idl2schemata 
Avro\IDL\EmployeeDTO.avdl Avro\Schema

REM Step 2 Schema => C# classes
Avro\Tools\codegen\Release\avrogen.exe -s Avro\Schema\EmployeeDTO.avsc ..

I'm less bothered by the tool being a Java tool (injects JRE/JDK dependency in 
a C# developer's toolchain). I ask because the IDL actually defines a 
'protocol' 
(https://github.com/sidshetye/HelloAvro/blob/master/Avro/IDL/EmployeeDTO.avdl ) 
but I'm using "idl2schemata" in step1. 

@namespace("HelloAvro.DTO")
protocol HelloAvro {
     ...
}

I do understand protocol methods (RPC) will be out only in 1.7.6 but does the 
rest look ok? Everything works - I just don't know if it's by intention or by 
accident!

Cheers
Sid



> C# documentation is completely empty/wiped out
> ----------------------------------------------
>
>                 Key: AVRO-1420
>                 URL: https://issues.apache.org/jira/browse/AVRO-1420
>             Project: Avro
>          Issue Type: Bug
>          Components: csharp, doc
>    Affects Versions: 1.7.5
>            Reporter: Sid S
>
> 1. Go to http://avro.apache.org/docs/current/api/csharp/index.html
> 2. Find blank page
> Note that this is the root page for C# documentation, went there looking for 
> basic hello world style documentation to get started.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to