Uploaded image for project: 'Apache Hop (incubating)'
  1. Apache Hop (incubating)
  2. HOP-2528

HOP_CONFIG_FOLDER is ignored when resolving projectHome

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Not A Bug
    • Affects Version/s: None
    • Fix Version/s: Not applicable
    • Component/s: Projects
    • Labels:
      None

      Description

      In Hop Web, I wanted to change the config folder to `/usr/local/tomcat/webapps/ROOT/config` to make the Dockerfile.web simpler by defining `-DHOP_CONFIG_FOLDER=/usr/local/tomcat/webapps/ROOT/config`.

      Note that user.dir will be at `/usr/local/tomcat` (hence config folder will be at `/usr/local/tomcat/config`) by default.

      Then I realized that `config/hop-config.json` defines two projects: default and sample, whose projectHome is defined as `config/projects/default` and `config/projects/sample`, respectively.

      `config/projects/default` is resolved as `/usr/local/tomcat/config/projects/default`, which does not exist.

        Attachments

          Activity

            People

            • Assignee:
              hiromu Hiromu Hota
              Reporter:
              hiromu Hiromu Hota
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: