Ok, sounds like I came up with a feature request. ;-) I'll open an issue and see what damage I can do poking around the code.

Thanks,

Mike

Michael Greene wrote:
Also makes sense to me.

Mike, If you're feeling adventurous, you can change it in your own
copy--each of the generators supplies its own output directory name.
For example, see the assignment out_dir_base_ = "gen-py"; in the
constructor of
http://svn.apache.org/repos/asf/incubator/thrift/trunk/compiler/cpp/src/generate/t_py_generator.cc

Michael

On Thu, May 21, 2009 at 11:49 AM, Alexander Shigin <[email protected]> wrote:
В Чтв, 21/05/2009 в 12:42 -0400, Mike Heffner пишет:
Hi,

Is there anyway to change the name of the directory the compiler uses to
dump files under? For example, for python I would like to change the
directory name to something other than "gen-py". The -o <dir> option
appears to exist, but that will only change the base directory that
"gen-py" is created under.
This makes sense for me. Can you fill the issue at
https://issues.apache.org/jira/browse/THRIFT ?





Reply via email to