Return-Path: Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 60928 invoked from network); 1 Aug 2003 18:30:42 -0000 Received: from otto.abtassoc.com (198.105.0.72) by daedalus.apache.org with SMTP; 1 Aug 2003 18:30:42 -0000 Received: from camdom1.cam.abtassoc.com (talisker.abtassoc.com [198.105.0.4]) by otto.abtassoc.com (8.11.6/8.11.6) with ESMTP id h71IPCJ22408 for ; Fri, 1 Aug 2003 14:25:12 -0400 Subject: javacc problem + path/link problem in html demo To: lucene-user@jakarta.apache.org X-Mailer: Lotus Notes Release 5.0.10 March 22, 2002 Message-ID: From: Jill_Pelavin@abtassoc.com Date: Fri, 1 Aug 2003 14:30:41 -0400 X-MIMETrack: Serialize by Router on camdom1/Servers/Abtassoc(Release 5.0.11 |July 24, 2002) at 08/01/2003 02:30:44 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I get the error, when I run ant, that it won't build. why am I building? when I run the web demo, all the links are formed with luceneweb/ preceding them (the links are incorrect): and the links come out as: http://localhost:8080/luceneweb/examples/foo.jsp when it should be: http://localhost:8080/examples/foo.jsp and I'm using tomcat, btw. I hunted down the line that gets the path in HTMLDocument (in the demo), and added some scaffolding to see what it says the link is; and so I wanted to recompile it (the thought is, that I could do a substring on the path, if is indeed adding luceneweb/ as part of all the paths). (it's a bit of a hack, but if it would work....) anyways, I downloaded javacc and am trying to build, with no avail. I've read through the newsgroup archives, read the help files, and looked on the net...so here I am emailing the group thanks so much. some more detail: ant can't find javacc - (also, it wants javacc.zip; but the javacc distrib. I got only comes with javacc.jar) from my default.properties file (I added this myself): # Home directory of JavaCC javacc.home = c:/Java tools/javacc-3.1/ javacc.zip.dir = ${javacc.home}/bin/lib javacc.zip = ${javacc.zip.dir}/javacc.jar (the above snippet seems to do no good :( -Jill