Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 30141 invoked from network); 5 Jul 2008 09:02:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jul 2008 09:02:42 -0000 Received: (qmail 87162 invoked by uid 500); 5 Jul 2008 09:02:42 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 87107 invoked by uid 500); 5 Jul 2008 09:02:42 -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 87089 invoked by uid 99); 5 Jul 2008 09:02:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jul 2008 02:02:42 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: unknown (athena.apache.org: error in processing during lookup of sjurnm@mac.com) Received: from [195.197.172.116] (HELO gw02.mail.saunalahti.fi) (195.197.172.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jul 2008 09:01:50 +0000 Received: from a88-115-172-204.elisa-laajakaista.fi (a88-115-172-204.elisa-laajakaista.fi [88.115.172.204]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by gw02.mail.saunalahti.fi (Postfix) with ESMTP id 91B6E1392C0 for ; Sat, 5 Jul 2008 12:01:29 +0300 (EEST) Message-Id: <44985319-C9F6-409F-B1B4-79DBEECD9774@mac.com> From: Sjur Moshagen To: dev@forrest.apache.org In-Reply-To: <20080705013846.GB15101@igg.indexgeo.com.au> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v924) Subject: Re: pdf plugin config locations Date: Sat, 5 Jul 2008 12:01:28 +0300 References: <486E95D6.4010702@apache.org> <20080705013846.GB15101@igg.indexgeo.com.au> X-Mailer: Apple Mail (2.924) X-Virus-Checked: Checked by ClamAV on apache.org Thanks Ross for the thorough reply - it helped a lot:) Den 5. jul. 2008 kl. 04.38 skrev David Crossley: > Ross Gardler wrote: >> Sjur Moshagen wrote: >>> >>> 1. what is the best place to store default values for the plugin? >> >> PLUGIN_HOME/default.plugin.properties.xml >> >>> 2. where should the user specify default overrides? >>> forrest.properties.xml? >> >> yes. >> >> Use a naming convention unique to the plugin, e.g. >> pdfOutput.fontFamily >> to avoid naming conflicts > > So lets standardise completely at "pluginType.pluginName.property", > e.g. > output.pdf.fontFamily > internal.dispatcher.caching > input.projectInfo.project.fullname +1 I will use the following: output.pdf.fontFamily.serif output.pdf.fontFamily.sansSerif output.pdf.fontFamily.monospace There might be use cases where the user wants to have a more fine- grained control of the font family specified, ie for the different text types (note, warning, tables, etc), but that is one step further. I'll first try to make this work. I'm very soon off for a 4-week vacation - if I don't make it now, I'll continue afterwards. Best regards, Sjur