[
https://issues.apache.org/jira/browse/HTRACE-187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stack updated HTRACE-187:
-------------------------
Attachment: 187.txt
Simple patch. Will fix at least the rpm install.
> Fix default relative web dir location in htraced
> ------------------------------------------------
>
> Key: HTRACE-187
> URL: https://issues.apache.org/jira/browse/HTRACE-187
> Project: HTrace
> Issue Type: Task
> Reporter: stack
> Attachments: 187.txt
>
>
> Currently, the htraced binary expects to find its web dir at two directory
> levels up:
> htrace-htraced//src/go/src/org/apache/htrace/htraced/rest.go: webdir,
> err = filepath.Abs(filepath.Join(filepath.Dir(os.Args[0]), "..", "..", "web"))
> This works currently when the htraced gets built at src/go/build/ and the web
> dir is at src/web.
> HTRACE-182 installs htraced at /usr/local/htrace/bin/ and the web dir at
> /usr/local/htrace which seems reasonable but as is with default relative
> location, is broke.
> Suggest that htraced by default looks for its web dir at one level up: e.g.
> bin/htraced will expect to find the web dir at '..'.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)