[
https://issues.apache.org/jira/browse/THRIFT-4279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Hull updated THRIFT-4279:
-------------------------------
Description:
My code change in THRIFT-4270 introduced a bug in the path to the generated
header files in the generated Erlang code. Previously the `-include` directives
did not specify a path, but after the THRIFT-4270 change the `-include`
directive has the "gen-erl" directory as part of the path.
Example include directive before the change:
{noformat}
-include("constants_demo_types.hrl").
{noformat}
Example include directive after the change:
{noformat}
-include("test/gen-erl/constants_demo_types.hrl").
{noformat}
was:My code change in THRIFT-4270 introduced a bug in the path to the
generated header files in the generated Erlang code. Previously the `-include`
directives did not specify a path, but after the THRIFT-4270 change the
`-include` directive has the "gen-erl" directory as part of the path.
> Wrong path in include directive in generated Thrift sources
> -----------------------------------------------------------
>
> Key: THRIFT-4279
> URL: https://issues.apache.org/jira/browse/THRIFT-4279
> Project: Thrift
> Issue Type: Bug
> Components: Erlang - Compiler
> Reporter: David Hull
> Priority: Minor
>
> My code change in THRIFT-4270 introduced a bug in the path to the generated
> header files in the generated Erlang code. Previously the `-include`
> directives did not specify a path, but after the THRIFT-4270 change the
> `-include` directive has the "gen-erl" directory as part of the path.
> Example include directive before the change:
> {noformat}
> -include("constants_demo_types.hrl").
> {noformat}
> Example include directive after the change:
> {noformat}
> -include("test/gen-erl/constants_demo_types.hrl").
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)