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.

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

> >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.
-- 
Otto-von-Guericke University     http://www.cs.uni-magdeburg.de/
Department of Computer Science   Geb. 29 R 027, Universitaetsplatz 2
39106 Magdeburg, Germany         Tel: +49 391 67 12768
_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss

Reply via email to