Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-64533

Support bundling resource files to be accessible by binary after installation

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Server Development Platform

    Description

      Add support to build system to allow bundling resource files (via list or globs), so that they can be accessed by binaries after installation.

      Such process should be compatible with all target platforms, where installation folders for data may be different (like /var vs /bin)

      A main use case for this feature is ability to read data files when running tests.

      Without this feature a workarounds are:
      a) assume that tests run in gitroot folder (currently used by unit tests)
      b) embed the resource files as static StringData resources in .h/.cpp files. (like JSHeader)

      Attachments

        Activity

          People

            backlog-server-devplatform [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            anna.wawrzyniak@mongodb.com Anna Wawrzyniak
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: