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

HOP_CONFIG_FOLDER is ignored when resolving projectHome

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Not A Bug
    • None
    • Not applicable
    • Projects
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: