Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4279

Wrong path in include directive in generated Thrift sources

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0
    • Component/s: Erlang - Compiler
    • Labels:
      None

      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:

      -include("constants_demo_types.hrl").
      

      Example include directive after the change:

      -include("test/gen-erl/constants_demo_types.hrl").
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dhull David Hull
                Reporter:
                dhull David Hull
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: