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

require statements should reference from current directory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • Ruby - Compiler
    • None
    • Patch Available

    Description

      Currently, require statements just use require 'some_constants' or 'some_types'. When you move the generated code into part of another project that is below the top-level directory the requires are no longer valid.

      I've patched the code to instead use the require as:

      File.join(File.dirname(_FILE_), 'some_constants'))

      Attachments

        Activity

          People

            Unassigned Unassigned
            pingles Paul Ingles
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: