Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 18331 invoked from network); 25 Oct 2004 22:51:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 25 Oct 2004 22:51:56 -0000 Received: (qmail 15463 invoked by uid 500); 25 Oct 2004 22:51:54 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 15332 invoked by uid 500); 25 Oct 2004 22:51:53 -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 Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 15306 invoked by uid 99); 25 Oct 2004 22:51:53 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [212.23.3.140] (HELO pythagoras.zen.co.uk) (212.23.3.140) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 25 Oct 2004 15:51:52 -0700 Received: from [82.69.78.226] (helo=[192.168.0.2]) by pythagoras.zen.co.uk with esmtp (Exim 4.30) id 1CMDgr-00066K-Vm for dev@forrest.apache.org; Mon, 25 Oct 2004 22:51:50 +0000 Message-ID: <417D8384.1010300@apache.org> Date: Mon, 25 Oct 2004 23:51:48 +0100 From: Ross Gardler User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@forrest.apache.org Subject: Re: Docbook as forrest-plugin References: <200410242043.28765.sean@inwords.co.za> <200410251807.37983.sean@inwords.co.za> <200410251937.15449.sean@inwords.co.za> In-Reply-To: <200410251937.15449.sean@inwords.co.za> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-Pythagoras-IP: [82.69.78.226] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Sean Wheller wrote: > On Monday 25 October 2004 18:35, Clay Leeds wrote: > >>On Oct 25, 2004, at 9:07 AM, Sean Wheller wrote: >> >>>On Monday 25 October 2004 18:03, Ross Gardler wrote: >>> >>>>Are you suggesting plugins should be installed in the individual >>>>project >>>>directory? This is not currently supported as it would lead to >>>>duplication of code. Since the plugin "belongs" to Forrest why would >>>>it >>>>even be installed in the project? >>> >>>Project Specific Customizations? Use case Docbook Customization Layers. >> >>I'm assuming that this would mean forrest would use the 'default' >>plugin (stored in 'forrest/plugins' or whatever the structure is), >>unless a local project-specific customized version of the plugin is >>available. >> >>But why not specify the location of the 'project-specific' plugin in >>forrest.properties? > > Yes. Default is always to use the forrest installation. We cannot go extending forrest.properties for every plugin. The file would become very difficult to maintain. Better to have the plugins define a standard location they expect to find a config file within the plugin directory - most likely the root folder. So configs would be openOffice.org.conf.xml and docbook.conf.xml. > However if pre-processing finds project sitemap.xmap that defines plugins it > will look for definition of installed plugins and use configurations provided > by the project rather than the installation. If it does not find this then it > defaults to installation. > > In the case of the Docbook plug-in only the custom layers will be installed to > the project. OK, I agree with this, no duplication of content that can be found in the plugin itself. > Again, for Docbook, I always assume that the Docbook sources are for > publishing to multiple formats using a traditional Docbook toolchain, and one > of these formats is XHTML that forrest will be able to skin. What about all the other formats that Forrest produces (or may product in the future), e.g. PDF, PS, RTF, POD, text etc? > The hardwork is > done in the Docbook XSL's using methods well documented in the community. > Forrest just needs to know how to read the XHTML produced. I believe Ross may > be able to help there. I'll come to this in another message. Ross