[SERVER-64533] Support bundling resource files to be accessible by binary after installation Created: 15/Mar/22  Updated: 28/Aug/23  Resolved: 28/Aug/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Anna Wawrzyniak Assignee: [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-64534 Golden Data framework should use inst... Backlog
Assigned Teams:
Server Development Platform
Participants:

 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)


Generated at Thu Feb 08 06:00:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.