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

Hongyi Shen commented on THRIFT-3862:
-------------------------------------

So, what if thrift -r --gen html a.thrift ?

There is no way to gent a.thrift and b.thrift generate documentation in the 
same index.html

> Parse does not support multiple thrift files
> --------------------------------------------
>
>                 Key: THRIFT-3862
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3862
>             Project: Thrift
>          Issue Type: New Feature
>          Components: C++ - Compiler
>    Affects Versions: 0.9.3
>            Reporter: Hongyi Shen
>            Assignee: James E. King, III
>            Priority: Minor
>
> For example:
>     util.thrift        types.thrift
>       |                     |
>         +------+---------+
>                 |
>       ------------------
>         |                    |
>   serviceA.thrift    serviceB.thrift
> To generate source code of A and B, I need to
> thrift -r -gen cpp serviceA.thrift
> thrift -r -gen cpp serviceB.thrift
> How can I generate them in one command:
> thrift -r -gen cpp serviceA.thrift servicesB.thrift



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to