You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@htrace.apache.org by "stack (JIRA)" <ji...@apache.org> on 2015/06/18 00:22:00 UTC

[jira] [Resolved] (HTRACE-187) Fix default relative web dir location in htraced

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

stack resolved HTRACE-187.
--------------------------
    Resolution: Invalid

Fixed by the patch in HTRACE-183... it changes the relative web location

> 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)