Return-Path: Delivered-To: apmail-forrest-user-archive@www.apache.org Received: (qmail 7612 invoked from network); 20 Jan 2005 19:11:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 20 Jan 2005 19:11:52 -0000 Received: (qmail 86989 invoked by uid 500); 20 Jan 2005 19:11:51 -0000 Delivered-To: apmail-forrest-user-archive@forrest.apache.org Received: (qmail 86960 invoked by uid 500); 20 Jan 2005 19:11:51 -0000 Mailing-List: contact user-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: user@forrest.apache.org Delivered-To: mailing list user@forrest.apache.org Received: (qmail 86946 invoked by uid 99); 20 Jan 2005 19:11:51 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from lakermmtao06.cox.net (HELO lakermmtao06.cox.net) (68.230.240.33) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 20 Jan 2005 11:11:48 -0800 Received: from GZYONE ([70.179.84.40]) by lakermmtao06.cox.net (InterMail vM.6.01.04.00 201-2131-117-20041022) with ESMTP id <20050120191144.MEI7687.lakermmtao06.cox.net@GZYONE> for ; Thu, 20 Jan 2005 14:11:44 -0500 From: "Greg Yenchi" To: Subject: RE: Forrest crashes without an xdoc/index.xml file Date: Thu, 20 Jan 2005 14:11:45 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcT+XHGgj+IZOW4VRYa796d0JuIJngAxq4pg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 In-Reply-To: <41EE85CA.3010002@apache.org> Message-Id: <20050120191144.MEI7687.lakermmtao06.cox.net@GZYONE> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Ross -- I still get the SourceExecption after I cleaned up all of the broken link messages, except for the one "cocoon://index.html", which I cannot find the source for. I actually had this problem in my own Forrest site where I know that I have no broken links, but I re-produced it in fresh-site just to make sure it wasn't caused by my other modifications. Plus, I'm getting the Java exception trace, not just the standard broken link message. -- Greg -----Original Message----- From: Ross Gardler [mailto:rgardler@apache.org] Sent: Wednesday, January 19, 2005 11:08 AM To: user@forrest.apache.org Subject: Re: Forrest crashes without an xdoc/index.xml file greg.vaco@cox.net wrote: > Forrest (Head, revision 125624) seems to assume there's an index.xml file in the xdoc root directory. Without this file, Forrest throws a nasty exception shown below; however, the site seems to render correctly. To reproduce this error, seed a fresh project, rename index.xml, and then update site.xml & tab.xml accordingly. > > An easy workaround is to include a dummy index.xml file, which stops the exception. But, I'm not sure if there's some undiscovered side-effect. Can anyone shed any light on this problem? I don't think this is a bug. There are other links to index.html in the fresh-site and so Forrest is trying to render it (see samples/usemap.xml). I have not tested it, perhaps you could do that for me, but if you change *all* references to index.* in fresh-site then this should go away. To see what pages are linking to the missing file look at project_home/build/tmp/brokenlinks.xml Ross -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.0 - Release Date: 17/01/2005