Date: Thu, 15 Aug 2013 12:51:44 GMT From: Yanhui Shen <shen.elf@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/181321: Opengrok's "urlPrefix" doesn't match its deploy path Message-ID: <201308151251.r7FCpiMq046572@oldred.freebsd.org> Resent-Message-ID: <201308151300.r7FD00JX009309@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 181321 >Category: ports >Synopsis: Opengrok's "urlPrefix" doesn't match its deploy path >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 15 13:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Yanhui Shen >Release: FreeBSD 9.2-BETA2 >Organization: >Environment: FreeBSD ThinkPad 9.2-BETA2 FreeBSD 9.2-BETA2 #0 r254020: Wed Aug 7 13:10:12 CST 2013 root@ThinkPad:/usr/obj/usr/src/sys/ThinkPad amd64 >Description: devel/opengrok is deployed into /usr/local/apache-tomcat-7.0/webapps/opengrok, which is NOT the default directory "..../webapps/source", however, "-w opengrok" is not specified by /usr/local/bin/opengrok. thus some link addresses in html is not correct, and cause 404 issue. >How-To-Repeat: 1.install opengrok and config tomcat 2.opengrok -d ./data -s fooproject -W ./config.xml 3.in browser, open a source file, click head files/variables/... in it 4.404 not found >Fix: /usr/local/bin/opengrok, line 15 add "-w opengrok" as default argument. ordinary users don not need to know this technical detail. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308151251.r7FCpiMq046572>