Re: static index + dynamic index & Beagle Startup



> @dbera: unfortunatly i can't find your mentioned tool beagle-dump-index.
>   are you sure it's distributed with the cvs checkout? i found joe's
> beagle crawl script but not the dump tool.

Weird. I have it in my local tree and all cvs checkouts. Somehow it got 
removed from CVS - maybe due to Joe's cleanup (or maybe I need to wake up). I 
am not sure if this mailing list stores attachments, but this is the script 
beagle/beagled/beagle-dump-index:
--------------------->8------------------------------
#!/bin/sh

# This line will be automatically uncommented when you "make install"
#installed=1

if [ -z $installed ] ; then
    echo "*** Running uninstalled DumpIndex.exe ***"
    THIS_PATH="../Util:../BeagleClient:."
    THIS_EXE="./DumpIndex.exe"

    export MONO_PATH="../Util:../BeagleClient${MONO_PATH+:$MONO_PATH}"
    export LD_LIBRARY_PATH="../glue/.libs${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}"
    export BEAGLE_FILTER_PATH="../Filters${BEAGLE_FILTER_PATH+ 
$BEAGLE_FILTER_PATH}"
else
    THIS_PATH="/usr/lib/beagle"
    THIS_EXE="/usr/lib/beagle/DumpIndex.exe"

    export MONO_PATH="/usr/lib/beagle${MONO_PATH+:$MONO_PATH}"
    export LD_LIBRARY_PATH="/usr/lib/beagle${LD_LIBRARY_PATH+:
$LD_LIBRARY_PATH}"
fi

MONO_GAC_PREFIX="/usr${MONO_GAC_PREFIX+:$MONO_GAC_PREFIX}" 
MONO_PATH="$THIS_PATH${MONO_
PATH+:$MONO_PATH}" exec -a beagle-dump-index mono --debug $MONO_EXTRA_ARGS 
$THIS_EXE "$
@"
--------------------------->8---------------------------------------

Fix line wraps. I dont know if this is even installed by make install. You can 
just run it locally.

-- 
--------------------------------------------------------
Debajyoti Bera @ http://dbera.blogspot.com
beagle / KDE fan
Mandriva / Inspiron-1100 user



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]