cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: Building docs fails
Date Thu, 13 Nov 2003 07:59:48 GMT
I get the following using latest CVS of forrest. I will try 0.5.1 now.

Index optimized! - Total milliseconds 7441
---------------------------------
Webapp generated in build/webapp-site
To run in Tomcat, add this to the config file (usu. server.xml):
&lt;Context path='/Apache Cocoon'
            docBase='build/webapp-site'
            reloadable='true'/&gt;
If using JDK 1.4 or above, make sure to set the Java environment variable
-Djava.endorsed.dirs=../xml-forrest/build/dist/shbat/\lib\endorsed
Eg, in the TOMCAT_OPTS (3.3.x) or CATALINA_OPTS (4.x) env variable.
---------------------------------
-prepare-classpath:
site:
Deleting directory
D:\dev\workspace\cocoon-2.1\build\cocoon-2.1.3-dev\tmp\cocoon
-work
Created dir:
D:\dev\workspace\cocoon-2.1\build\cocoon-2.1.3-dev\tmp\cocoon-work
Warning: D:\dev\workspace\cocoon-2.1\build\webapp-site\content not found.
Copying 20 files to
D:\dev\workspace\cocoon-2.1\build\cocoon-2.1.3-dev\site\skin
\images
Copying 1 file to
D:\dev\workspace\cocoon-2.1\build\cocoon-2.1.3-dev\site\skin
Static site will be generated at:
D:\dev\workspace\cocoon-2.1/build/cocoon-2.1.3-dev/site
Note that there are various reasons for "build failed" messages.
* Cocoon will report the status of each document:
  - in column 1: *=okay X=brokenLink ^=pageSkipped (see FAQ).
* Even if only one link is broken, you will still get "failed".
* Your site would still be generated, but some pages would be broken.
* Please check the file:
D:\dev\workspace\cocoon-2.1\build\cocoon-2.1.3-dev\brokenlinks.xml
for any broken links in the generated site.
ERROR:
D:\dev\workspace\cocoon-2.1\build\webapp-site\build\webapp-site\WEB-INF\c
li.xconf (Das System kann den angegebenen Pfad nicht finden)
------------------------------------------------------------------------
cocoon 2.1.2-dev
Copyright (c) 1999-2003 Apache Software Foundation. All rights reserved.
------------------------------------------------------------------------
ERROR   2003-11-13 08:58:56.505 [        ] (): Could not find the
configuration
file.
java.io.FileNotFoundException: The configuration file could not be found.
        at
org.apache.cocoon.bean.CocoonWrapper.getConfigurationFile(CocoonWrapp
er.java:235)
        at
org.apache.cocoon.bean.CocoonWrapper.initialize(CocoonWrapper.java:14
2)
        at org.apache.cocoon.bean.CocoonBean.initialize(CocoonBean.java:119)
        at org.apache.cocoon.Main.main(Main.java:387)
Exception in thread "main"
BUILD FAILED
D:\dev\workspace\xml-forrest\build\dist\shbat\forrest.build.xml:563: Java
return
ed: 1
Total time: 32 seconds

BUILD FAILED
file:D:/dev/workspace/xml-forrest/build/dist/shbat/forrest.antproxy.xml:45:
Java
 returned: 1

Carsten

> -----Original Message-----
> From: Joerg Heinicke [mailto:jheinicke@virbus.de]
> Sent: Wednesday, November 12, 2003 6:06 PM
> To: dev@cocoon.apache.org
> Subject: Re: Building docs fails
>
>
> D:\cocoon-2.1>build docs
> Using Java from D:\jdk1.4.2_01
> Buildfile: build.xml
>
> prepare:
>
> ...
>
> Total time: 1 minutes 50 seconds
> ------------------------------
> Static site generated at:
>    D:\cocoon-2.1/build/cocoon-2.1.3-dev/site
> Please check the file
> D:\cocoon-2.1\build\cocoon-2.1.3-dev\tmp\brokenlinks.xml
> for any broken links in the generated site.
> ------------------------------
> site:
> BUILD SUCCESSFUL
> Total time: 2 minutes 0 seconds
>
> docs:
> Created dir: D:\cocoon-2.1\build\cocoon-2.1.3-dev\docs
> Copying 509 files to D:\cocoon-2.1\build\cocoon-2.1.3-dev\docs
> Copied 2 empty directories to D:\cocoon-2.1\build\cocoon-2.1.3-dev\docs
> Copied 1 empty directory to
> D:\cocoon-2.1\build\cocoon-2.1.3-dev\docs\apidocs
>
> BUILD SUCCESSFUL
> Total time: 2 minutes 45 seconds
>
>
> Where exactly does it fail for you? I use Forrest 0.5.1.
>
> Joerg
>
> On 12.11.2003 15:55, Carsten Ziegeler wrote:
> > Using the latest forrest for cocoon docs fails with a lot of exceptions.
> > Is anyone able to build the docs? If so, which version of
> forrest are you
> > using?
> > Can we fix this?
> >
> > Thanks
> >
> > Carsten
>


Mime
View raw message