Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 64118 invoked from network); 6 Oct 2004 19:34:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 6 Oct 2004 19:34:44 -0000 Received: (qmail 93187 invoked by uid 500); 6 Oct 2004 19:34:43 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 93151 invoked by uid 500); 6 Oct 2004 19:34:43 -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 93140 invoked by uid 99); 6 Oct 2004 19:34:43 -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.141] (HELO heisenberg.zen.co.uk) (212.23.3.141) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 06 Oct 2004 12:34:41 -0700 Received: from [82.69.78.226] (helo=[192.168.0.2]) by heisenberg.zen.co.uk with esmtp (Exim 4.30) id 1CFHYc-0002m0-Gt for dev@forrest.apache.org; Wed, 06 Oct 2004 19:34:38 +0000 Message-ID: <416448CD.3090804@apache.org> Date: Wed, 06 Oct 2004 20:34:37 +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: Forrest OpenOffice.org plugin References: <89A4EF0D-1721-11D9-AC24-00039385397E@medata.com> <2257BABE-1724-11D9-AC24-00039385397E@medata.com> <4163D885.4040000@apache.org> <280D08F8-17B3-11D9-AEE6-00039385397E@medata.com> <416434C9.7060209@apache.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-Heisenberg-IP: [82.69.78.226] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Clay Leeds wrote: > In addition, after reading their site, we may need to change the plugin > name to OpenOffice.org/ (and also the files, e.g., > OpenOffice.org-writer2forrest.xsl, etc. but then again, IANAL) Why is that? It's not a problem and we can do it when we move over to the plugin, just wondering why, I assume its a licensing issue. >> One small point, the xmap is called "sitemap.xmap" not "openOffice.xmap". > > > OK. FWIW, that came from the first item in my results: > > [clay@Clay-Leeds-Computer forrest]$ find . -iname *openoffice* > ./plugins/demoIMSSite/src/documentation/openOffice.xmap > > Is this file something different? No. It's just that the plugins are mounted in the forrest sitemaps by mounting the plugins/PLUGIN_NAME/sitemap.xmap file. >> What do you mean "the download"? The idea is the same as with custom >> skins, a config file will indicate what plugins are required to build >> a site (this does not exist as yet). When someone does "forrest *" one >> of the first actions of Forrest is to ensure it has the necessary >> plugins available. Any that are missing are automaticaly downloaded >> and installed. > > > By 'download' I mean 'forrest distribution'. And by "automatically > downloaded and installed"... It'll try and download it v for you? > Nice... Yes. I can't take credit for that, I simply copied Nicola Ken's skin download stuff and adapted it a little. This is the bit we need to work on to remove cut and paste code that is now duplicated across both the skin and plugin stuff. > But does 'it' know to use svn, etc. or would it just use curl? > and what if curl wasn't installed? There is one or more plugins registry file that tells Forrest where to download the plugin from and what protocol to use (see http://www.apache.org/~rgardler/testingGround/forrestPlugins/plugins.xml). This is located at the place defined in forrest.properties (http://svn.apache.org/viewcvs.cgi/forrest/branches/sitemap-plugins/src/core/context/default-forrest.properties?rev=47415&root=Apache-SVN&view=markup) so it will eventually be located on http://forrest.apache.org/... as the skin descriptors file is. Ultimately, it is ANT that does the downloading so any protocol ANT can handle is OK. To see how it all comes together see the ANT targets in http://svn.apache.org/viewcvs.cgi/forrest/branches/sitemap-plugins/src/core/targets/plugins.xml?rev=47415&root=Apache-SVN&view=markup > I can start whenever you get me the code changes you've made. If those > changes are based on HEAD, then I'll need to run the /svn switch .../ > command again. I recommend doing the changes in the branch. The reason being that there is some stuff (like the style handling) that needs to be agreed upon by the community as a whole. Since we are getting trunk ready for the 0.6 release I'd hate to upset folk. There are no major commits to trunk on the affected files since the branch so we are OK there. > Thanks! This is exciting! And also, if you can point me toward the > Cocoon docs I should look to for this, that would help too. But if > you're busy, this can wait... I think we'll wait on this one. I am not very confident with my Cocoon stuff and would rather throw this open to comment when we are ready to do it. I'd hate to set us off on the wrong road. Ross