[Lxr-general] use ident in Lxr
Brought to you by:
ajlittoz
|
From: <jen...@ma...> - 2001-12-06 16:56:09
|
Hello all,
I'm using Lxr 0.9, on a sun-solaris machine with an iPlanet webserver.
After a long time playing with LXR it runs now!!
Also glimpse is in use, so the parts source navigation, freetext- and file-
search are running!
But what is with ident!? i cannot get it running!! the most interesting part
of the Lxr-tool for me!!
so, what do i have to do that i get the ident-part in funktion??
I want to use the part "identifier search" and much more the part, where all
function names, variable names and typedef are as link inside the source
navigation.
so, lets take a look, what i could have made wrong:
parts of my lxr.conf file:
[...]
'glimpsebin' =>
'/view/jheimann_mms_MS1_ProvisioningAgent/mms/ProvisioningAgent/Lxr09/bin/gl
impse/bin/glimpse',
'ectagsbin' => '/usr/bin/ctags',
'tmpdir' => '/tmp',
'genericconf' =>
'/view/jheimann_mms_MS1_ProvisioningAgent/mms/ProvisioningAgent/Lxr09/lib/LX
R/Lang/generic.conf'
[...]
'baseurl' => 'http://mm-datenwicht:8088/lxr',
'virtroot' => '/lxr',
'variables' => {
# Define typed variable "v", read valueset from file.
'v' => {'name' => 'Version',
#[jens] 'range' => [ readfile('src/cvsversions') ],
--> i cut this out, because i'm not using a CVS!!
# If files within a tree can have different versions,
# e.g in a CVS tree, 'range' can be specified as a
# function to call for each file:
#'range' => sub { return
#
($files->allreleases($LXR::Common::pathname),
#
$files->allrevisions($LXR::Common::pathname))
# }, # deferred function call.
'default' => 'mms/Kernel'}, --> This is
my "trick" to interact the CVS and get the correct path
# Define typed variable "a". First value is default.
'a' => {'name' => 'Architecture',
'range' => [qw(i386 alpha arm m68k mips ppc sparc sparc64)]},
},
'maps' => {
'/include/asm[^\/]*/' => '/include/asm-$a/',
'/arch/[^\/]+/' => '/arch/$a/',
},
# Templates used for headers and footers
'htmlhead' => 'html-head.html',
'htmltail' => 'html-tail.html',
'htmldir' => 'html-dir.html',
'htmlident' => 'html-ident.html',
'sourcehead' => 'html-head.html',
'sourcedirhead' => 'html-head.html',
'stylesheet' => '../templates/lxr.css',
# sourceroot can either be the name of an ordinary directory
# containing one directory for each version, or cvs: and the name of a
# cvs repository
'sourceroot' => '/view/jheimann_mms_MS1_ProvisioningAgent',
'sourcerootname' => 'AMIC',
'incprefix' => ['/include', '/Public/Inc', '/ThirdParty/Inc',
'/Tools/Public/Inc', '/Public/Idl/GeneratedFiles'], #[jens]
[...] ---> file-types, etc. no changes made
'dbdir' => '/home/webadmin', --> glimpse
needs this, here are my .glimpse_* - files stored!!
'dbname' => 'dbi:mysql:dbname=lxr',
'dbuser' => 'lxr'
})
I'm very hopeful that somebody can help me, because it runns in every Lxr -
Example, i have seen!!
manny thanks
Jens
(if someone can answer me in german, he sould do that!!, thanks)
|