Author: dnaber
Date: Wed Mar 23 15:49:08 2005
New Revision: 158852

URL: http://svn.apache.org/viewcvs?view=rev&rev=158852
Log:
adapt to use of jline

Modified:
    lucene/java/trunk/contrib/lucli/README
    lucene/java/trunk/contrib/lucli/run.sh

Modified: lucene/java/trunk/contrib/lucli/README
URL: 
http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/lucli/README?view=diff&r1=158851&r2=158852
==============================================================================
--- lucene/java/trunk/contrib/lucli/README (original)
+++ lucene/java/trunk/contrib/lucli/README Wed Mar 23 15:49:08 2005
@@ -2,7 +2,7 @@
 
 INSTALLATION
 
-Edit the run.sh shell script
+Call "ant", then call the run.sh shell script. If it doesn't work right away:
        Edit JAVA_HOME to point to your java directory.
        Edit LUCLI to point to where you installed lucli.
        Edit LUCLI_MEMORY and set it to the maximum amount of memory you want 
to allocate to lucli
@@ -11,12 +11,7 @@
 
 ENABLING READLINE
 
-If you add the -r command line parameter lucli will try to use a shared 
library 
-to enable things like tab completion and history. Unfortunately Java doesn't 
support 
-this capability natively so you'll need a shared library for this. I'm 
including one
-that worked for me with Debian Linux.
-For more details about GNU readline and java see 
http://java-readline.sourceforge.net/
-which is the library that lucli uses.
+Readline support should automatically work thanks to JLine, see 
http://jline.sourceforge.net/
 
 
 Documentation

Modified: lucene/java/trunk/contrib/lucli/run.sh
URL: 
http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/lucli/run.sh?view=diff&r1=158851&r2=158852
==============================================================================
--- lucene/java/trunk/contrib/lucli/run.sh (original)
+++ lucene/java/trunk/contrib/lucli/run.sh Wed Mar 23 15:49:08 2005
@@ -1,12 +1,6 @@
 LUCLI=.
 LUCLI_MEMORY=128M
 #JAVA_HOME=/home/dror/j2sdk1.4.1_03/
-CLASSPATH=${CLASSPATH}:$LUCLI/lib/libreadline-java.jar:$LUCLI/lib/lucene.jar:$LUCLI/dist/lucli-dev.jar
-PATH=${PATH}:$JAVA_HOME/bin
-LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$LUCLI
-export LD_LIBRARY_PATH
+CLASSPATH=${CLASSPATH}:$LUCLI/lib/jline.jar:$LUCLI/lib/lucene.jar:$LUCLI/dist/lucli-dev.jar
 export CLASSPATH
 $JAVA_HOME/bin/java -Xmx${LUCLI_MEMORY} lucli.Lucli
-#Use this line to enable tab completion. Depends on the Readline shares library
-#$JAVA_HOME/bin/java lucli.Lucli -r
-


Reply via email to