Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Not A Bug
-
None
-
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.