You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@forrest.apache.org by "Stephan E. Schlierf" <st...@vsa.de> on 2004/10/26 13:31:02 UTC

linkmap.html: Broken

I am just testing Forrest 0.6 (the stable one) whether the creation of a 
pdf-file works that is aggregated from a group of documents.
What I did was to copy both sitemap.xmap and aggregate.xmap from 
$FORREST_HOME/context to the "src/documentation"-directory of my project.
Then in sitemap.xmap I commented out:
<map:pipeline internal-only="false">
  ...
</map:pipeline>
Now a "forrest site" causes the following error message:

cocoon 2.2.0-dev
Copyright (c) 1999-2004 Apache Software Foundation. All rights reserved.
------------------------------------------------------------------------


X [0]                                    BROKEN:   
linkmap.html /home/stephan/ForrestTest/src/documentation/tabs.xmap (No such 
file or directory)
Total time: 0 minutes 33 seconds,  Site size: 0 Site pages: 0

BUILD FAILED
/home/stephan/apache-forrest-0.6/src/core/targets/site.xml:43: Java returned: 
1

Any ideas what's going wrong here ?

TIA,
Stephan

Re: linkmap.html: Broken

Posted by David Crossley <cr...@apache.org>.
David Crossley wrote:
> 
> Drat, i can see why you are confused. The upgrading
> document does not clearly explain.
> http://forrest.apache.org/docs/upgrading_06.html#sitemap

That is now updated and published, hope that is more clear.

-- 
David Crossley


Re: linkmap.html: Broken

Posted by Clay Leeds <cl...@medata.com>.
FWIW, I too am having this problem linkmap.html. So I decided to try 
switching to the binary download. Unfortunately, I get this error when 
I attempt to run (under the Unix-like Mac OS X 10.3.5):

====
[clay@Clay-Leeds-Computer medata_docs]$ forrest
Apache Forrest.  Run 'forrest -projecthelp' to list options

/Users/Shared/_WebDLs/_repos/forrest/src/core/bin/forrest: line 95: 
/Users/Shared/_WebDLs/_repos/forrest/src/core/../../tools/ant/bin/ant: 
Permission denied
[clay@Clay-Leeds-Computer medata_docs]$
====

I'm also having some problem setting proper permissions and such, so 
I'll have to resolve that before I can use the binary download. I don't 
know if anything can be done about the permissions on the builds, but 
here's the /ls -l $FORREST_HOME/:

====
[clay@Clay-Leeds-Computer medata_docs]$ ls -l $FORREST_HOME
total 28
drwxr-xr-x    7 clay          238 Oct 11 16:20 bin
drwxr-xr-x   23 clay          782 Oct 11 16:21 context
-rw-r--r--    1 clay         1694 Oct 10 13:05 forrest.antproxy.xml
-rw-r--r--    1 clay        21325 Oct 10 13:05 forrest.build.xml
drwxr-xr-x    5 clay          170 Oct 11 16:21 fresh-site
drwxr-xr-x    7 clay          238 Oct 11 16:21 targets
drwxr-xr-x    3 clay          102 Oct 10 13:04 tasks
drwxr-xr-x   10 clay          340 Oct 11 16:21 var
[clay@Clay-Leeds-Computer medata_docs]$
====

Unfortunately, I haven't had the opportunity to test out the fixes on 
this (I'll hopefully have time later today).

Web Maestro Clay

On Oct 26, 2004, at 8:18 AM, Scherler, Thorsten wrote:
> Hi Stephan,
>
> try the following:
>
>> <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
>>   <map:pipelines>
>>     <map:pipeline internal-only="false">
>
>>         <!-- my own definitions -->
>>         <map:match pattern="workflow_doku.xml">
>>           <map:mount uri-prefix="" src="workflow_doku.xmap"
>>             check-reload="yes" />
>>         </map:match>
>>         <!-- end of my definitions -->
>
>>     </map:pipeline>
>>   </map:pipelines>
>> </map:sitemap>
>>
>
> I guess that will solve your problem.
>
>> I haven't thought that it's so easy ;-)
>> Now I have to deal with a fop-exception:
>> workflow_doku.pdf     BROKEN: org.apache.fop.apps.FOPException: No 
>> flow in
>> page-sequence
>>
>> I still work on it...
>
> Some reasons:
> - content to big for a page

This might happen if an image is too large for a page. You can also 
check the FOP FAQ page:

http://xml.apache.org/fop/faq.html

> - endless loop
> - one page of the aggregation is corrupt
> ...
> HTH
> thorsten

Web Maestro Clay
-- 
Clay Leeds - <cl...@medata.com>
Webmaster/Developer - Medata, Inc. - <http://www.medata.com/>
PGP Public Key: <https://mail.medata.com/pgp/cleeds.asc>


Re: linkmap.html: Broken

Posted by "Scherler, Thorsten" <th...@apache.org>.
Hi Stephan,

try the following:


> <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
>   <map:pipelines>
>     <map:pipeline internal-only="false">

>         <!-- my own definitions -->
>         <map:match pattern="workflow_doku.xml">
>           <map:mount uri-prefix="" src="workflow_doku.xmap"
>             check-reload="yes" />
>         </map:match>
>         <!-- end of my definitions -->

>     </map:pipeline>
>   </map:pipelines>
> </map:sitemap>
> 

I guess that will solve your problem.


> I haven't thought that it's so easy ;-)
> Now I have to deal with a fop-exception:
> workflow_doku.pdf     BROKEN: org.apache.fop.apps.FOPException: No flow in 
> page-sequence
> 
> I still work on it...

Some reasons:
- content to big for a page
- endless loop
- one page of the aggregation is corrupt
...

HTH
thorsten

> 
> Am Dienstag, 26. Oktober 2004 13:53 schrieb Scherler, Thorsten:
> > In addition to that we have to still modify
> > http://forrest.apache.org/howto/howto-pdf-tab.html that it reflects the
> > new reality.
> >
> > I will try to do that tonight.
> 
> That would be great, thank you!
> 
> Thank you all for your help!
> Stephan
> 
> >
> > thorsten
> >
> > El mar, 26-10-2004 a las 13:41, David Crossley escribió:
> > > Stephan E. Schlierf wrote:
> > > > I am just testing Forrest 0.6 (the stable one) whether the creation of
> > > > a pdf-file works that is aggregated from a group of documents.
> > > > What I did was to copy both sitemap.xmap and aggregate.xmap from
> > > > $FORREST_HOME/context to the "src/documentation"-directory of my
> > > > project.
> > >
> > > No. Projects don't do that anymore. Copying and editing
> > > the core sitemaps is the old 0.5 way. Now if a project
> > > has very special needs, then they can provide their
> > > own minimal sitemap. No need to copy and edit the core ones.
> > > http://forrest.apache.org/docs/project-sitemap.html
> > >
> > > Drat, i can see why you are confused. The upgrading
> > > document does not clearly explain.
> > > http://forrest.apache.org/docs/upgrading_06.html#sitemap
> > >
> > > --David
> > >
> > > > Then in sitemap.xmap I commented out:
> > > > <map:pipeline internal-only="false">
> > > >   ...
> > > > </map:pipeline>
> > > > Now a "forrest site" causes the following error message:
> > > >
> > > > cocoon 2.2.0-dev
> > > > Copyright (c) 1999-2004 Apache Software Foundation. All rights
> > > > reserved.
> > > > -----------------------------------------------------------------------
> > > >-
> > > >
> > > >
> > > > X [0]                                    BROKEN:
> > > > linkmap.html /home/stephan/ForrestTest/src/documentation/tabs.xmap (No
> > > > such file or directory)
> > > > Total time: 0 minutes 33 seconds,  Site size: 0 Site pages: 0
> > > >
> > > > BUILD FAILED
> > > > /home/stephan/apache-forrest-0.6/src/core/targets/site.xml:43: Java
> > > > returned: 1
> > > >
> > > > Any ideas what's going wrong here ?
> > > >
> > > > TIA,
> > > > Stephan


Re: linkmap.html: Broken

Posted by "Scherler, Thorsten" <th...@apache.org>.
El mar, 26-10-2004 a las 16:08, Stephan E. Schlierf escribió:
> >
> > I will try to do that tonight.
> 
> That would be great, thank you!
> 

Is fixed in the trunk and will be online with the next deploy cycle.

thorsten


Re: linkmap.html: Broken

Posted by "Stephan E. Schlierf" <st...@vsa.de>.
I tried to use a very minimalized sitemap.xmap as David and Thorsten wrote in 
their eMails:

<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
  <map:pipelines>
    <map:pipeline internal-only="false">
      <map:match pattern="**.xml">
        <!-- my own definitions -->
        <map:match pattern="workflow_doku.xml">
          <map:mount uri-prefix="" src="workflow_doku.xmap"
            check-reload="yes" />
        </map:match>
        <!-- end of my definitions -->
      </map:match>
    </map:pipeline>
  </map:pipelines>
</map:sitemap>

I haven't thought that it's so easy ;-)
Now I have to deal with a fop-exception:
workflow_doku.pdf     BROKEN: org.apache.fop.apps.FOPException: No flow in 
page-sequence

I still work on it...

Am Dienstag, 26. Oktober 2004 13:53 schrieb Scherler, Thorsten:
> In addition to that we have to still modify
> http://forrest.apache.org/howto/howto-pdf-tab.html that it reflects the
> new reality.
>
> I will try to do that tonight.

That would be great, thank you!

Thank you all for your help!
Stephan

>
> thorsten
>
> El mar, 26-10-2004 a las 13:41, David Crossley escribió:
> > Stephan E. Schlierf wrote:
> > > I am just testing Forrest 0.6 (the stable one) whether the creation of
> > > a pdf-file works that is aggregated from a group of documents.
> > > What I did was to copy both sitemap.xmap and aggregate.xmap from
> > > $FORREST_HOME/context to the "src/documentation"-directory of my
> > > project.
> >
> > No. Projects don't do that anymore. Copying and editing
> > the core sitemaps is the old 0.5 way. Now if a project
> > has very special needs, then they can provide their
> > own minimal sitemap. No need to copy and edit the core ones.
> > http://forrest.apache.org/docs/project-sitemap.html
> >
> > Drat, i can see why you are confused. The upgrading
> > document does not clearly explain.
> > http://forrest.apache.org/docs/upgrading_06.html#sitemap
> >
> > --David
> >
> > > Then in sitemap.xmap I commented out:
> > > <map:pipeline internal-only="false">
> > >   ...
> > > </map:pipeline>
> > > Now a "forrest site" causes the following error message:
> > >
> > > cocoon 2.2.0-dev
> > > Copyright (c) 1999-2004 Apache Software Foundation. All rights
> > > reserved.
> > > -----------------------------------------------------------------------
> > >-
> > >
> > >
> > > X [0]                                    BROKEN:
> > > linkmap.html /home/stephan/ForrestTest/src/documentation/tabs.xmap (No
> > > such file or directory)
> > > Total time: 0 minutes 33 seconds,  Site size: 0 Site pages: 0
> > >
> > > BUILD FAILED
> > > /home/stephan/apache-forrest-0.6/src/core/targets/site.xml:43: Java
> > > returned: 1
> > >
> > > Any ideas what's going wrong here ?
> > >
> > > TIA,
> > > Stephan

Re: linkmap.html: Broken

Posted by "Scherler, Thorsten" <th...@apache.org>.
In addition to that we have to still modify
http://forrest.apache.org/howto/howto-pdf-tab.html that it reflects the
new reality.

I will try to do that tonight.

thorsten

El mar, 26-10-2004 a las 13:41, David Crossley escribió:
> Stephan E. Schlierf wrote:
> > I am just testing Forrest 0.6 (the stable one) whether the creation of a 
> > pdf-file works that is aggregated from a group of documents.
> > What I did was to copy both sitemap.xmap and aggregate.xmap from 
> > $FORREST_HOME/context to the "src/documentation"-directory of my project.
> 
> No. Projects don't do that anymore. Copying and editing
> the core sitemaps is the old 0.5 way. Now if a project
> has very special needs, then they can provide their
> own minimal sitemap. No need to copy and edit the core ones.
> http://forrest.apache.org/docs/project-sitemap.html
> 
> Drat, i can see why you are confused. The upgrading
> document does not clearly explain.
> http://forrest.apache.org/docs/upgrading_06.html#sitemap
> 
> --David
> 
> > Then in sitemap.xmap I commented out:
> > <map:pipeline internal-only="false">
> >   ...
> > </map:pipeline>
> > Now a "forrest site" causes the following error message:
> > 
> > cocoon 2.2.0-dev
> > Copyright (c) 1999-2004 Apache Software Foundation. All rights reserved.
> > ------------------------------------------------------------------------
> > 
> > 
> > X [0]                                    BROKEN:   
> > linkmap.html /home/stephan/ForrestTest/src/documentation/tabs.xmap (No such 
> > file or directory)
> > Total time: 0 minutes 33 seconds,  Site size: 0 Site pages: 0
> > 
> > BUILD FAILED
> > /home/stephan/apache-forrest-0.6/src/core/targets/site.xml:43: Java returned: 
> > 1
> > 
> > Any ideas what's going wrong here ?
> > 
> > TIA,
> > Stephan
> 


Re: linkmap.html: Broken

Posted by David Crossley <cr...@apache.org>.
Stephan E. Schlierf wrote:
> I am just testing Forrest 0.6 (the stable one) whether the creation of a 
> pdf-file works that is aggregated from a group of documents.
> What I did was to copy both sitemap.xmap and aggregate.xmap from 
> $FORREST_HOME/context to the "src/documentation"-directory of my project.

No. Projects don't do that anymore. Copying and editing
the core sitemaps is the old 0.5 way. Now if a project
has very special needs, then they can provide their
own minimal sitemap. No need to copy and edit the core ones.
http://forrest.apache.org/docs/project-sitemap.html

Drat, i can see why you are confused. The upgrading
document does not clearly explain.
http://forrest.apache.org/docs/upgrading_06.html#sitemap

--David

> Then in sitemap.xmap I commented out:
> <map:pipeline internal-only="false">
>   ...
> </map:pipeline>
> Now a "forrest site" causes the following error message:
> 
> cocoon 2.2.0-dev
> Copyright (c) 1999-2004 Apache Software Foundation. All rights reserved.
> ------------------------------------------------------------------------
> 
> 
> X [0]                                    BROKEN:   
> linkmap.html /home/stephan/ForrestTest/src/documentation/tabs.xmap (No such 
> file or directory)
> Total time: 0 minutes 33 seconds,  Site size: 0 Site pages: 0
> 
> BUILD FAILED
> /home/stephan/apache-forrest-0.6/src/core/targets/site.xml:43: Java returned: 
> 1
> 
> Any ideas what's going wrong here ?
> 
> TIA,
> Stephan


Re: linkmap.html: Broken

Posted by "Scherler, Thorsten" <th...@apache.org>.
Try to use a blank sitemap.xmap and copy the match for aggregate
document into it.

Have a look at
http://svn.apache.org/viewcvs.cgi/incubator/lenya/trunk/src/documentation/sitemap.xmap?rev=47500&view=auto
for an example.

tabs.xmap is not needed anymore. BTW you may try (I have not tried it
though) to delete everything from the sitemap besides the mount point to
tabs.xmap. That should work but like I said I have not tried it.

HTH
thorsten

El mar, 26-10-2004 a las 13:31, Stephan E. Schlierf escribió:
> I am just testing Forrest 0.6 (the stable one) whether the creation of a 
> pdf-file works that is aggregated from a group of documents.
> What I did was to copy both sitemap.xmap and aggregate.xmap from 
> $FORREST_HOME/context to the "src/documentation"-directory of my project.
> Then in sitemap.xmap I commented out:
> <map:pipeline internal-only="false">
>   ...
> </map:pipeline>
> Now a "forrest site" causes the following error message:
> 
> cocoon 2.2.0-dev
> Copyright (c) 1999-2004 Apache Software Foundation. All rights reserved.
> ------------------------------------------------------------------------
> 
> 
> X [0]                                    BROKEN:   
> linkmap.html /home/stephan/ForrestTest/src/documentation/tabs.xmap (No such 
> file or directory)
> Total time: 0 minutes 33 seconds,  Site size: 0 Site pages: 0
> 
> BUILD FAILED
> /home/stephan/apache-forrest-0.6/src/core/targets/site.xml:43: Java returned: 
> 1
> 
> Any ideas what's going wrong here ?
> 
> TIA,
> Stephan