You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2010/08/11 17:48:17 UTC

[jira] Commented: (THRIFT-537) prepend texts to generated files

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

Bryan Duxbury commented on THRIFT-537:
--------------------------------------

Correct me if I'm wrong, but generally, I don't think there's any need to put license headers in generated content. I know that Thrift has avoided adding the ASL header to a bunch of files because they are generated. 

I think that including the variables you mentioned would be pretty much universally beneficial, though. Maybe they could be part of the autogen comment? What do people think?

> prepend texts to generated files
> --------------------------------
>
>                 Key: THRIFT-537
>                 URL: https://issues.apache.org/jira/browse/THRIFT-537
>             Project: Thrift
>          Issue Type: Wish
>          Components: Compiler (C#), Compiler (C++), Compiler (Cocoa), Compiler (Erlang), Compiler (General), Compiler (Haskell), Compiler (Java), Compiler (Perl), Compiler (PHP), Compiler (Python), Compiler (Ruby)
>            Reporter: Eric Evans
>
> It would be great if there were an option you could pass to the compiler in order to specify a file, the contents of which would be prepended to generated source as comments. This would be useful for license texts, copyright notices, disclaimers, etc.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.