Return-Path: Delivered-To: apmail-forrest-user-archive@www.apache.org Received: (qmail 14537 invoked from network); 9 Mar 2009 11:43:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Mar 2009 11:43:35 -0000 Received: (qmail 98589 invoked by uid 500); 9 Mar 2009 11:43:35 -0000 Delivered-To: apmail-forrest-user-archive@forrest.apache.org Received: (qmail 98541 invoked by uid 500); 9 Mar 2009 11:43:35 -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 List-Id: Delivered-To: mailing list user@forrest.apache.org Received: (qmail 98532 invoked by uid 99); 9 Mar 2009 11:43:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Mar 2009 04:43:35 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [211.5.2.81] (HELO nmomta.auone-net.jp) (211.5.2.81) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 09 Mar 2009 11:43:25 +0000 Received: from J1033 ([210.233.22.163]) by nm01mta.auone-net.jp id <20090309204303182.MA63.82FC3D8@nm01mta.auone-net.jp>; Mon, 9 Mar 2009 20:43:03 +0900 Message-ID: <898E5EFA3741402292F707F84C821403@jpn.ibsplc.com> Reply-To: "Dr. Bhatia Praveen" From: "Dr. Bhatia Praveen" To: References: <22282043.post@talk.nabble.com> <20090302084958.GA8928@igg.indexgeo.com.au> <24786F4D28104CC497C980C5770D011A@jpn.ibsplc.com> <61c9bc470903030555i58b0e99ck8582ac97c33a9931@mail.gmail.com> <0A6A1837A5D84C14AE6645F1F3639B66@jpn.ibsplc.com> <61c9bc470903040324o5f5dfc7ew2d77190fe5ff7ab@mail.gmail.com> <61c9bc470903090426v3d56a8b5vc52f261e3219a28d@mail.gmail.com> In-Reply-To: <61c9bc470903090426v3d56a8b5vc52f261e3219a28d@mail.gmail.com> Subject: Re: setting userconfig.xml file in output.xmap in a relative path Date: Mon, 9 Mar 2009 20:40:39 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049 X-Virus-Checked: Checked by ClamAV on apache.org Hi Sjur/Ross, I am using version 0.8 version of forrest. I changed the output.xmap in the installation of forrest 0.8 ie C:\user\Installation\forrest\apache-forrest-0.8\plugins\org.apache.forrest.plugin.output.pdf This means that when I change computers/forrest versions, the application again doesnt work unless I remember to go and chande the installation plugins file. So I am looking for a general way (for example in user's sitemap.xmap) where this setting could be done with properties and so application could move accross computers/higher versions. In earlier version of Forrest it could be done by editing the fo2pdf pipeline in the sitemap.xmap of the user. Thanks Praveen ----- Original Message ----- From: "Ross Gardler" To: ; "Dr. Bhatia Praveen" Sent: Monday, March 09, 2009 8:26 PM Subject: Re: setting userconfig.xml file in output.xmap in a relative path 2009/3/9 Dr. Bhatia Praveen : > Hello, > I am setting the userconfig.xml file in the output.xmap file in > org.apache.forrest.plugin.output.pdf > > I have done it naively as thus which works but is locked to a specific > path > C:\user\workspace.......: > > > > src="org.apache.cocoon.serialization.FOPSerializer" > mime-type="application/pdf"> > > C:\user\workspace\forrest\src\main\common/userconfig.xml > > > > > > ======= > It works. However, is there a neat way to use properties to write a path > above so that the path is relative to the forrest workspace? > I tried things like {properties:xdocs} but couldnt make it work.... You are using 0.9 right? If so there is a new properties system, unfortunately it is not well documented but you can see notes in https://issues.apache.org/jira/browse/FOR-588 In particular the sub issue https://issues.apache.org/jira/browse/FOR-734 links to the thread http://marc.info/?l=forrest-dev&m=114170683324461&w=2 which tells you how to do this in a scalable way. As ever, pulling that out into a patch for our documentation would be really helpful (don't worry about perfect, anything that is not hidded in the issue tracker is an improvement). Ross -- -- Ross Gardler OSS Watch - awareness and understanding of open source software development and use in education http://www.oss-watch.ac.uk -------------------------------------------------------------------------------- No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.237 / Virus Database: 270.11.9/1990 - Release Date: 03/08/09 17:17:00