You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tubemq.apache.org by "Guo Jiwei (Jira)" <ji...@apache.org> on 2020/06/01 10:15:00 UTC

[jira] [Closed] (TUBEMQ-167) Change to relative paths in default configs

     [ https://issues.apache.org/jira/browse/TUBEMQ-167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guo Jiwei closed TUBEMQ-167.
----------------------------

> Change to relative paths in default configs
> -------------------------------------------
>
>                 Key: TUBEMQ-167
>                 URL: https://issues.apache.org/jira/browse/TUBEMQ-167
>             Project: Apache TubeMQ
>          Issue Type: Improvement
>            Reporter: Ping Yu
>            Assignee: Ping Yu
>            Priority: Trivial
>              Labels: pull-request-available
>             Fix For: 0.5.0
>
>
> Change absolute paths in default configuration files to relative, for ease of non-productive deployments.
> E.g.
> {code:java}
> [master]
> webResourcePath=E:\\GIT\\TubeMQ\\resources  --> ./resources{code}
>  
> Solution:
> Change cwd to `$BASE_DIR` before invoke the `Main` class. To preserve user cwd, a pair of `pushd/popd` is needed.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)