You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Thiruvalluvan M. G. (Created) (JIRA)" <ji...@apache.org> on 2011/10/08 15:16:29 UTC

[jira] [Created] (AVRO-917) Avrogencpp does not insert avro prefix for avro headers in the generated files.

Avrogencpp does not insert avro prefix for avro headers in the generated files.
-------------------------------------------------------------------------------

                 Key: AVRO-917
                 URL: https://issues.apache.org/jira/browse/AVRO-917
             Project: Avro
          Issue Type: Bug
          Components: c++
            Reporter: Thiruvalluvan M. G.
            Assignee: Thiruvalluvan M. G.
             Fix For: 1.6.0


The generated files have include directives like {{#include "Specific.hh"}}. This forces the users to add things like {{-I/usr/local/avro}} to their build scripts.If, instead, the generated code had {{#include "avro/Specific.hh"}} the users can use something like {{-I/usr/local}} (or omit it altogether because many systems may already have {{/usr/local}} in their include paths).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AVRO-917) Avrogencpp does not insert avro prefix for avro headers in the generated files.

Posted by "Thiruvalluvan M. G. (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thiruvalluvan M. G. updated AVRO-917:
-------------------------------------

    Status: Patch Available  (was: Open)
    
> Avrogencpp does not insert avro prefix for avro headers in the generated files.
> -------------------------------------------------------------------------------
>
>                 Key: AVRO-917
>                 URL: https://issues.apache.org/jira/browse/AVRO-917
>             Project: Avro
>          Issue Type: Bug
>          Components: c++
>            Reporter: Thiruvalluvan M. G.
>            Assignee: Thiruvalluvan M. G.
>             Fix For: 1.6.0
>
>         Attachments: AVRO-917.patch
>
>
> The generated files have include directives like {{#include "Specific.hh"}}. This forces the users to add things like {{-I/usr/local/avro}} to their build scripts.If, instead, the generated code had {{#include "avro/Specific.hh"}} the users can use something like {{-I/usr/local}} (or omit it altogether because many systems may already have {{/usr/local}} in their include paths).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AVRO-917) Avrogencpp does not insert avro prefix for avro headers in the generated files.

Posted by "Thiruvalluvan M. G. (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AVRO-917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13124028#comment-13124028 ] 

Thiruvalluvan M. G. commented on AVRO-917:
------------------------------------------

If there are no objections, I'll commit this tomorrow.
                
> Avrogencpp does not insert avro prefix for avro headers in the generated files.
> -------------------------------------------------------------------------------
>
>                 Key: AVRO-917
>                 URL: https://issues.apache.org/jira/browse/AVRO-917
>             Project: Avro
>          Issue Type: Bug
>          Components: c++
>            Reporter: Thiruvalluvan M. G.
>            Assignee: Thiruvalluvan M. G.
>             Fix For: 1.6.0
>
>         Attachments: AVRO-917.patch
>
>
> The generated files have include directives like {{#include "Specific.hh"}}. This forces the users to add things like {{-I/usr/local/avro}} to their build scripts.If, instead, the generated code had {{#include "avro/Specific.hh"}} the users can use something like {{-I/usr/local}} (or omit it altogether because many systems may already have {{/usr/local}} in their include paths).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AVRO-917) Avrogencpp does not insert avro prefix for avro headers in the generated files.

Posted by "Thiruvalluvan M. G. (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thiruvalluvan M. G. updated AVRO-917:
-------------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed revision 1182341.
                
> Avrogencpp does not insert avro prefix for avro headers in the generated files.
> -------------------------------------------------------------------------------
>
>                 Key: AVRO-917
>                 URL: https://issues.apache.org/jira/browse/AVRO-917
>             Project: Avro
>          Issue Type: Bug
>          Components: c++
>            Reporter: Thiruvalluvan M. G.
>            Assignee: Thiruvalluvan M. G.
>             Fix For: 1.6.0
>
>         Attachments: AVRO-917.patch
>
>
> The generated files have include directives like {{#include "Specific.hh"}}. This forces the users to add things like {{-I/usr/local/avro}} to their build scripts.If, instead, the generated code had {{#include "avro/Specific.hh"}} the users can use something like {{-I/usr/local}} (or omit it altogether because many systems may already have {{/usr/local}} in their include paths).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AVRO-917) Avrogencpp does not insert avro prefix for avro headers in the generated files.

Posted by "Thiruvalluvan M. G. (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thiruvalluvan M. G. updated AVRO-917:
-------------------------------------

    Attachment: AVRO-917.patch

{{avrogencpp}} now takes an additional argument {{- p}} or {{--include-prefix}} which is the prefix for header files. If omitted, {{avro/}} becomes the prefix. If set to {{-}} no prefix is added.
                
> Avrogencpp does not insert avro prefix for avro headers in the generated files.
> -------------------------------------------------------------------------------
>
>                 Key: AVRO-917
>                 URL: https://issues.apache.org/jira/browse/AVRO-917
>             Project: Avro
>          Issue Type: Bug
>          Components: c++
>            Reporter: Thiruvalluvan M. G.
>            Assignee: Thiruvalluvan M. G.
>             Fix For: 1.6.0
>
>         Attachments: AVRO-917.patch
>
>
> The generated files have include directives like {{#include "Specific.hh"}}. This forces the users to add things like {{-I/usr/local/avro}} to their build scripts.If, instead, the generated code had {{#include "avro/Specific.hh"}} the users can use something like {{-I/usr/local}} (or omit it altogether because many systems may already have {{/usr/local}} in their include paths).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AVRO-917) Avrogencpp does not insert avro prefix for avro headers in the generated files.

Posted by "Thiruvalluvan M. G. (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AVRO-917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123536#comment-13123536 ] 

Thiruvalluvan M. G. commented on AVRO-917:
------------------------------------------

Jira's formatting took away a -. It should read if set to -, no prefix is added.
                
> Avrogencpp does not insert avro prefix for avro headers in the generated files.
> -------------------------------------------------------------------------------
>
>                 Key: AVRO-917
>                 URL: https://issues.apache.org/jira/browse/AVRO-917
>             Project: Avro
>          Issue Type: Bug
>          Components: c++
>            Reporter: Thiruvalluvan M. G.
>            Assignee: Thiruvalluvan M. G.
>             Fix For: 1.6.0
>
>         Attachments: AVRO-917.patch
>
>
> The generated files have include directives like {{#include "Specific.hh"}}. This forces the users to add things like {{-I/usr/local/avro}} to their build scripts.If, instead, the generated code had {{#include "avro/Specific.hh"}} the users can use something like {{-I/usr/local}} (or omit it altogether because many systems may already have {{/usr/local}} in their include paths).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira