You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jake Farrell (JIRA)" <ji...@apache.org> on 2015/06/24 15:47:05 UTC

[jira] [Commented] (THRIFT-3013) make thrift compiler accept a list of input files

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

Jake Farrell commented on THRIFT-3013:
--------------------------------------

+1 to reducing dependencies and keeping dev maintenance and usage as simple as possible. not super excited to see a whole options parser class being brought in from a 3rd party like this, also agree that we should not introduce boost as a dependency for this either. before this is committed we should have some more discussions around this and come to a consensus 

> make thrift compiler accept a list of input files
> -------------------------------------------------
>
>                 Key: THRIFT-3013
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3013
>             Project: Thrift
>          Issue Type: New Feature
>          Components: Compiler (General)
>    Affects Versions: 0.9.2
>            Reporter: Xiaoshuang LU
>            Assignee: Roger Meier
>             Fix For: 0.9.3
>
>         Attachments: THRIFT-3013.v4.patch
>
>
> At present, customers could only specify one input file to thrift compiler.  There are maybe two approaches to support multiple input files.
> Approach 1: Improve the option parser in compiler/cpp/src/main.cc.  Maybe we can borrow code from GUN's getopt_long.
> Approach 2: Offer users a maven plugin which can help them to iterate through a list of input files.



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