Return-Path: Delivered-To: apmail-lucene-general-archive@www.apache.org Received: (qmail 66002 invoked from network); 12 Feb 2009 15:42:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Feb 2009 15:42:26 -0000 Received: (qmail 1160 invoked by uid 500); 12 Feb 2009 15:42:25 -0000 Delivered-To: apmail-lucene-general-archive@lucene.apache.org Received: (qmail 1144 invoked by uid 500); 12 Feb 2009 15:42:25 -0000 Mailing-List: contact general-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@lucene.apache.org Delivered-To: mailing list general@lucene.apache.org Received: (qmail 1133 invoked by uid 99); 12 Feb 2009 15:42:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Feb 2009 07:42:24 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Feb 2009 15:42:17 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LXdhM-0000f7-Ei for general@lucene.apache.org; Thu, 12 Feb 2009 07:41:56 -0800 Message-ID: <21978543.post@talk.nabble.com> Date: Thu, 12 Feb 2009 07:41:56 -0800 (PST) From: Fard To: general@lucene.apache.org Subject: Re: error with checkout the Basic Demo of Lucene In-Reply-To: <98931A9C-0C66-4AC2-99F1-D95B14DEA786@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: maurice.fard@gmail.com References: <21968770.post@talk.nabble.com> <98931A9C-0C66-4AC2-99F1-D95B14DEA786@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Thank you for your response, Again I check out the Basic demo and run "ant war-demo" from prompt line. I searched for indexfiles.class to run it and create index directory. it is in "build.classes.demo.org.apache.lucene.demo". I run "java org.apache.lucene.demo.IndexFiles {full-path-to-lucene}/src" and I got the below error. Exception in thread "main" java.lang.NoClassDefFoundError: IndexFiles/class Caused by: java.lang.ClassNotFoundException: IndexFiles.class at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) Could not find the main class: IndexFiles.class. Program will exit. Grant Ingersoll-6 wrote: > > > I hope this information will be helpful. > > Have fun > Maurice > > I don't know about Eclipse, but what happens if you just go into the > checkout directory on the command line and do "ant compile" > > > On Feb 11, 2009, at 9:23 PM, Fard wrote: > >> >> Hello there, >> >> I checked out the Basic Demo from subversion >> http://svn.apache.org/repos/asf/lucene/java/trunk >> lucene/java/trunk >> in eclipse. And in the package explorer I got a lot of errors. The >> most are >> not compatibility between the name of packages and the package that >> classes >> should be there. For example there is a package called >> "java.org.apache.lucene.analysis" with almost 30 java class in it >> but the >> first statment in all these classes >> are "package org.apache.lucene.analysis;". I have this problem with >> all of >> packages and all them included files. I don't know is it something >> wrong in >> the check out process I have done or something wrong in the Basic >> Demo of >> Lucene. I appreciated let me know how can I fix it. >> >> Have Fun >> Maurice >> -- >> View this message in context: >> http://www.nabble.com/error-with-checkout-the-Basic-Demo-of-Lucene-tp21968770p21968770.html >> Sent from the Lucene - General mailing list archive at Nabble.com. >> > > > -- View this message in context: http://www.nabble.com/error-with-checkout-the-Basic-Demo-of-Lucene-tp21968770p21978543.html Sent from the Lucene - General mailing list archive at Nabble.com.