If the files are included into each other, specify the -r switch.
________________________________
Von: John Wang (JIRA)
Gesendet: 28.02.2015 08:30
An: dev@thrift.apache.org
Betreff: [jira] [Created] (THRIFT-3013) make thrift compiler accept a list of 
input files

John Wang created THRIFT-3013:
---------------------------------

             Summary: 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: John Wang


At present, customer could specify one input file to the 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 uses 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)

Reply via email to