stack created HTRACE-187:
----------------------------
Summary: 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
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)