Uploaded image for project: 'Evergreen'
  1. Evergreen
  2. EVG-846

get rid of plugin.StaticWebRootFromSourceFile

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v1
    • Component/s: None
    • Labels:
      None

      Description

      Kyle Erf I've just discovered that this is a blocker for deploy/staging work, because it means that on the machine where the binaries are executed, the path to any files loaded with this function must match the path that the file was located in when the binary was originally built. So if we had a staging environment, or wanted to download binaries from evergreen to try locally, they would only run if the vendor's static assets were stored under "/data/mci/..." (or whatever)

      Instead, plugin assets should be loaded from some relative path, so that they will work correctly regardless of where the binaries are executed.

        Attachments

          Activity

            People

            • Assignee:
              mpobrien Michael O'Brien
              Reporter:
              mpobrien Michael O'Brien
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: