Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 89493 invoked from network); 1 Sep 2008 11:38:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Sep 2008 11:38:17 -0000 Received: (qmail 97757 invoked by uid 500); 1 Sep 2008 11:38:15 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 97714 invoked by uid 500); 1 Sep 2008 11:38:15 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 97700 invoked by uid 99); 1 Sep 2008 11:38:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Sep 2008 04:38:15 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of thorsten.scherler.ext@juntadeandalucia.es designates 217.12.18.114 as permitted sender) Received: from [217.12.18.114] (HELO mta.juntadeandalucia.es) (217.12.18.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Sep 2008 11:37:17 +0000 Received: from [10.240.225.254] (helo=mail.juntadeandalucia.es) by guadix2.juntadeandalucia.es with esmtps (TLSv1:AES256-SHA:256) (Exim 4.60) (envelope-from ) id 1Ka7j8-0006te-LO for dev@forrest.apache.org; lun, 01 sep 2008 13:37:46 +0200 Received: from [10.240.192.30] by mail.juntadeandalucia.es with esmtpa (Exim 4.69) (envelope-from ) id 1Ka7j8-0001G6-6T for dev@forrest.apache.org; Mon, 01 Sep 2008 13:37:46 +0200 Subject: Re: FOPNGSerializer, user-config and locationmaps From: Thorsten Scherler To: dev@forrest.apache.org In-Reply-To: <90C1D225-4958-4384-B111-56E547B12102@mac.com> References: <327B913B-24E0-43D1-A2B1-3F7E20BE7B4A@mac.com> <499888440808180354i57121f3btc3c091685b232d04@mail.gmail.com> <29CDBF5E-8B68-46DB-902A-994E11EA82F2@mac.com> <20080819044310.GC26681@igg.indexgeo.com.au> <1219214009.6352.27.camel@thorsten-desktop> <1219221427.21107.12.camel@thorsten-desktop> <9B953C95-28A4-4411-9C9C-0D4A2C93A522@mac.com> <1219388088.19104.36.camel@thorsten-desktop> <3208C333-1112-4C66-887E-C8CCC51AD973@mac.com> <8F7F62BD-2BC1-4BF5-B964-496009D52F6D@mac.com> <1219395221.19104.58.camel@thorsten-desktop> <90C1D225-4958-4384-B111-56E547B12102@mac.com> Content-Type: text/plain Date: Mon, 01 Sep 2008 13:36:45 +0200 Message-Id: <1220269005.6404.61.camel@thorsten-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-SA-Report: * -0.2 ALL_TRUSTED Passed through trusted hosts only via SMTP X-Spam-Score: -0.2 (/) X-Spam-Score-Int: -1 X-Virus-Checked: Checked by ClamAV on apache.org On Mon, 2008-09-01 at 14:05 +0300, Sjur Moshagen wrote: > Den 22. aug. 2008 kl. 11.53 skrev Thorsten Scherler: > > > On Fri, 2008-08-22 at 11:44 +0300, Sjur Moshagen wrote: > >> Den 22. aug. 2008 kl. 11.29 skrev Sjur Moshagen: > >> > >>> But when I start up Forrest again, I get the following error: > >>> > >>> CAUSE: > >>> The entity "pdf-config-file" was referenced, but not declared. > >> > >> Forget about that, I didn't notice that Forrest had already copied in > >> an entity file in my $PROJECT_HOME folder, which of course did not > >> contain the entity declaration :/ > >> > > > > That is why I wrote in the other mail that best is to implement the > > default in the core. > > I did that now, but... > > >> Now it is working as a charm:) > > That was a little exaggerated. > > It does work as a charm IFF I add it manually in the $PROJECT_HOME/src/ > documentation/resources/schema/symbols-project-v10.ent > > But it does NOT work if I DON'T add it manually there, even though the > entity is now defined both in core and in project within $FORREST_HOME. Hmm that is weird. I have to admit unless like David I am not the expert in the entity config, but it should work in editing vim main/webapp/resources/schema/entity/symbols-core-v10.ent and then in your sitemap like in the dispatcher plugin: vim whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap %symbols-project; %symbols-core; ]> > > It *should* work, AFAICU. it should work as described above, it is hard to comment on it without a commit. > > A possible workaround is to add it to the symbols-project-v10.ent file > in the seeded site - that way it will always be defined. It is still > somehow broken since it will break existing projects/sites until they > manually add the entity def. to their own symbols-project-v10.ent file. > That is not a viable solution in my eyes. salu2 > Suggestions? Ideas about the cause? > > Best regards, > Sjur > -- Thorsten Scherler thorsten.at.apache.org Open Source Java consulting, training and solutions