On 14.8.2012 18:34, Jens Elkner wrote:
On Tue, Aug 14, 2012 at 10:07:42AM +0200, Lubos Kosco wrote:
On 13.8.2012 20:55, Don Fike wrote:
I have a couple installations of Opengrok running but changed the name
of the war file to a name that better describes the projects Opengrok
is grokking. This presents an issue as /source/ remains in the URL
for many of the entities in the xref.
there is an indexer option -w
indexes/xrefs caches are indexed with hardcoded /source (or any other
string you pass to indexer) to avoid unnecessary dynamic linking
(depending on depth of file we would have to insert ../../../ ... which
would make index unnecessary big)
there is a bug(forgot the number, please check/search it from issues on
the wiki page) to get rid of option -w and make it dynamic by default,
but so far this is such a limited use case and cost for it is so high,
that no one did the change
Hmmm, I would guess, not more than a day.
size wise please ;)
(index would grow too much)
obviously if you have better ideas how to make this linking persistent
in a manner which requires less disk space for xref cache add them to
the bug
IMHO there is (but don't know the bug ID): We could produce a
<base href=... /> header and than omit the complete
[http://$host]/$context in links ...
found the bug # , I think I thought about this option and it didn't work
in my testing:
http://defect.opensolaris.org/bz/show_bug.cgi?id=13985
--
L
Is there a way through the configuration to get the webapp to use the
name I gave it instead of /source/ which doesn't exist in my environment?
Regards,
jel.
_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss