forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Gardler <>
Subject Re: How do I create Forrest:* styles?
Date Wed, 20 Oct 2004 23:57:58 GMT
[I think this thread is moving well out of the domain of the user list - 
moving to the dev list]

Clay Leeds wrote:
> On Oct 20, 2004, at 2:05 PM, Clay Leeds wrote:
>> On Oct 20, 2004, at 1:13 PM, Ross Gardler wrote:
>>> Clay Leeds wrote:
>>>> Those files will be useful to get around this problem. I think part  
>>>> of the problem with Heading levels can be resolved by making the  
>>>> XPath match.
>>>> I've tried manually editing the style.xml & content.xml files by  
>>>> copying a 'good' Heading 1 code segment, and creating Heading 3, 4,  
>>>> 5 segments to content.xml (and similarly creating the relevant  
>>>> 'styles' in style.xml). Unfortunately, when I process run /forrest/  
>>>> it complains that meta.xml does not exist (even though it exists in  
>>>> the directory and the resulting file--renamed  
>>>> to openoffice-writer.sxw).
>>> I've seen this, are you using my OpenOffice.xmap file (the one in 
>>> the  zip attached to the feature request)? If so I think that is why 
>>> you  are seeing the problem. I switched from using the zip generator 
>>> to  using the jar generator to read the sxw archive(for reasons I 
>>> can't  quite remember, it was a long time ago). Anyway, with the jar  
>>> generator it produces the above error whenever the sxw has been  
>>> changed.
>> Here's the process I used:
> (btw, this process took place in a separate 'temp/' directory and when  
> my updates were completed, openoffice-writer.sxw was copied from the  
> temp/ dir to  
> seed/src/documentation/content/xdocs/samples/openoffice-writer.sxw)
>> 1. renamed openoffice-writer.sxw =>
>> 2. extracted =>  openoffice-writer/
>> 3. deleted
>> 3. modified files as mentioned
>> 4. used the Mac OS X built-in "Create archive of "openoffice-writer/"
>> 5. renamed => openoffice-writer.sxw
>> 6. ran /forrest/ (BUILD FAILED due to not finding meta.xml, although  
>> it exists at top level of zip/sxw archive)
> Here's the error:
> X [0]                                      
> samples/openoffice-writer.html        BROKEN:  
> org.apache.cocoon.ResourceNotFoundException: Resource not found.:  
> org.apache.excalibur.source.SourceNotFoundException: The document  
> meta.xml is not in the archive  
> file:/Users/Shared/_WebDLs/_repos/seed/src/documentation/content/xdocs/ 
> samples/openoffice-writer.sxw
>> 7. attempted to open openoffice-writer.sxw with OOo1.1.2 but it  
>> prompts with a dialog asking what it should convert from (selecting  
>> Text Document opens a 'blank' document).

Well the symptoms are exactly the same (except 7) as what I experience 
but the process you use to reach it is different. I just tested Forrest 
0.6 (i.e. not using my custom stuff) and it works fine.

I'm afraid I don't know what to suggest, but the fact that Open Office 
will no longer open your file does not sound good with respect to the 
correctness of your modified Open Office document.



View raw message