Uploaded image for project: 'Apache InLong'
  1. Apache InLong
  2. INLONG-167

Change to relative paths in default configs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.5.0
    • None

    Description

      Change absolute paths in default configuration files to relative, for ease of non-productive deployments.

      E.g.

      [master]
      webResourcePath=E:\\GIT\\TubeMQ\\resources  --> ./resources

       

      Solution:

      Change cwd to `$BASE_DIR` before invoke the `Main` class. To preserve user cwd, a pair of `pushd/popd` is needed.

       

      Attachments

        1. s15916013621910.png
          53 kB
          Jeff Zhou

        Issue Links

          Activity

            People

              pingyu Ping Yu
              pingyu Ping Yu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m