forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Gardler <rgard...@apache.org>
Subject Re: setting userconfig.xml file in output.xmap in a relative path
Date Mon, 09 Mar 2009 11:27:21 GMT
2009/3/9 Dr. Bhatia Praveen <praveen.bhatia@sumpurn.com>:
> One more question.
> I changed the paths in the forrest executable's plugins.
> Can this be done by user's sitemap.xmap?

I'm not following you here, what are the "paths in the forrest
executable's plugins"?

Ross

>
> Praveen
>
> ----- Original Message ----- From: "Dr. Bhatia Praveen"
> <praveen.bhatia@sumpurn.com>
> To: <user@forrest.apache.org>
> Sent: Monday, March 09, 2009 7:51 PM
> Subject: setting userconfig.xml file in output.xmap in a relative path
> - Show quoted text -
>
>
>> 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.......:
>>
>>  <map:components>
>>   <map:serializers default="fo2pdf">
>>     <map:serializer name="fo2pdf"
>>               src="org.apache.cocoon.serialization.FOPSerializer"
>>               mime-type="application/pdf">
>>  <!-- PB Added this for fonts like msgothic-->
>>
>>
>> <user-config>C:\user\workspace\forrest\src\main\common/userconfig.xml</user-config>
>>  <!-- PB ended font addition -->
>>  </map:serializer>
>>   </map:serializers>
>>  </map:components>
>>
>> =======
>> 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....
>>
>> Praveen
>>
>>
>
>
> --------------------------------------------------------------------------------
>
>
>
> 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
>
>



-- 
--
Ross Gardler

OSS Watch - awareness and understanding of open source software
development and use in education
http://www.oss-watch.ac.uk

Mime
View raw message