Mailing List Archive

cvs commit: jakarta-lucene/xdocs demo3.xml
acoliver 02/02/08 05:12:30

Modified: xdocs demo3.xml
Log:
oops... I refer to the luceneweb directory when I mean just tomcat webapps

Revision Changes Path
1.2 +1 -1 jakarta-lucene/xdocs/demo3.xml

Index: demo3.xml
===================================================================
RCS file: /home/cvs/jakarta-lucene/xdocs/demo3.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- demo3.xml 26 Jan 2002 15:01:32 -0000 1.1
+++ demo3.xml 8 Feb 2002 13:12:30 -0000 1.2
@@ -36,7 +36,7 @@
Since you've already set your classpath in the previous examples,
all you need to do is type
<b> "java org.apache.lucene.demo.IndexHTML -create -index {index-dir} .."</b>.
-You'll need to do this from your {tomcat}/webapps/luceneweb directory. {index-dir}
+You'll need to do this from your {tomcat}/webapps directory. {index-dir}
should be a directory that Tomcat has permission to read and write, but is
outside of a web accessible context. By default the webapp is configured
to look in <b>/opt/lucene/index</b> for this index.




--
To unsubscribe, e-mail: <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>
cvs commit: jakarta-lucene/xdocs demo3.xml [ In reply to ]
acoliver 02/02/09 04:38:53

Modified: xdocs demo3.xml
Log:
made instructions a bit clearer and more correct

Revision Changes Path
1.3 +3 -1 jakarta-lucene/xdocs/demo3.xml

Index: demo3.xml
===================================================================
RCS file: /home/cvs/jakarta-lucene/xdocs/demo3.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- demo3.xml 8 Feb 2002 13:12:30 -0000 1.2
+++ demo3.xml 9 Feb 2002 12:38:53 -0000 1.3
@@ -36,7 +36,9 @@
Since you've already set your classpath in the previous examples,
all you need to do is type
<b> "java org.apache.lucene.demo.IndexHTML -create -index {index-dir} .."</b>.
-You'll need to do this from your {tomcat}/webapps directory. {index-dir}
+You'll need to do this from a (any) subdirectory of your {tomcat}/webapps directory (make sure you didn't leave off the ".." or you'll get a null pointer
+exception).
+{index-dir}
should be a directory that Tomcat has permission to read and write, but is
outside of a web accessible context. By default the webapp is configured
to look in <b>/opt/lucene/index</b> for this index.




--
To unsubscribe, e-mail: <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>