Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 89249 invoked from network); 18 Apr 2002 07:03:27 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 18 Apr 2002 07:03:27 -0000 Received: (qmail 2794 invoked by uid 97); 18 Apr 2002 07:03:34 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@jakarta.apache.org Received: (qmail 2766 invoked by uid 97); 18 Apr 2002 07:03:34 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 2755 invoked from network); 18 Apr 2002 07:03:33 -0000 Message-ID: <003601c1e69a$2459c6e0$6200000a@oer> From: "Anita Srinivas" To: "Lucene Users List" References: <001f01c1e60f$d713c6e0$6200000a@oer> <20020417150620.A35304@gil.physik.rwth-aachen.de> Subject: Re: indexing Date: Thu, 18 Apr 2002 09:30:25 +0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The command is as follows : I change directory to (for eg - xyz) and I invoke this command from jsp file Process pr2 = rt2.exec("cmd /c start java org.apache.lucene.demo.IndexHTML -create -index ../../../../opt/lucene/index ../../../fdj/admin/"); It doesnt work. It gives me classdefnot found error : org.apache.lucene.demo . But at the command prompt, from xyz directory : "java org.apache.lucene.demo.IndexHTML -create -index ../../../../opt/lucene/index ../../../fdj/admin/ " works fine. Where am I going wrong? Thanks for your help. Anita ----- Original Message ----- From: "Christoph Kukulies" To: "Lucene Users List" Sent: Wednesday, April 17, 2002 5:06 PM Subject: Re: indexing > On Wed, Apr 17, 2002 at 05:00:24PM +0400, Anita Srinivas wrote: > > Hi, > > > > I am a newbie.. > > > > I am testing by writing a jsp file where I convert Pdf files to txt which works fine(xpdf-windows version). Next I want to index these files so as to include the new txt files in the index. > > > > I typed the following at the cmd prompt > > java org.apache.lucene.demo.IndexHTML -create -index indexpath .. > > > > This works fine > > > > But when I call the command prompt frm jsp and execute this command. It does not include the new txt files. > > How do you invoke the command in the jsp file?? > > > -- > Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > -- To unsubscribe, e-mail: For additional commands, e-mail: