db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakob Braeuchi <jbraeu...@gmx.ch>
Subject Re: docu generation failed
Date Sat, 22 Jan 2005 15:57:16 GMT
hi tom,

ant doc under windows runs without problems. not so under linux.
Directory '.' is not readable/writable ??? i'm lost :(

jakob

site:
    [mkdir] Created dir: 
/home/jakob/workspace/db-ojb_RELEASE_1_0/target/doc/build/tmp/cocoon-work
     [echo]
     [echo] Copying the various non-generated resources to site.
     [echo] Warnings will be issued if the optional project resources 
are not found.
     [echo] This is often the case, because they are optional and so may 
not be available.
     [echo] Copying project resources and images to site ...
     [copy] Warning: 
/home/jakob/workspace/db-ojb_RELEASE_1_0/target/doc/build/webapp/resources 
not found.
     [copy] Copying 499 files to 
/home/jakob/workspace/db-ojb_RELEASE_1_0/target/doc/build/site
     [java] 
------------------------------------------------------------------------
     [java] cocoon 2.2.0-dev
     [java] Copyright (c) 1999-2004 Apache Software Foundation. All 
rights reserved.
     [java] 
------------------------------------------------------------------------


     [java] ERROR   2005-01-22 16:49:09.433 [        ] (): Directory '.' 
is not readable/writable
     [java] Exception in thread "main" java.io.IOException: Directory 
'.' is not readable/writable
     [java]     at 
org.apache.cocoon.bean.CocoonWrapper.getDir(CocoonWrapper.java:253)
     [java]     at 
org.apache.cocoon.bean.CocoonWrapper.initialize(CocoonWrapper.java:106)
     [java]     at 
org.apache.cocoon.bean.CocoonBean.initialize(CocoonBean.java:98)
     [java]     at org.apache.cocoon.Main.main(Main.java:320)
     [echo] Copying main skin images to site ...
    [mkdir] Created dir: 
/home/jakob/workspace/db-ojb_RELEASE_1_0/target/doc/build/site/skin/images
     [copy] Copying 21 files to 
/home/jakob/workspace/db-ojb_RELEASE_1_0/target/doc/build/site/skin/images
     [copy] Copying 62 files to 
/home/jakob/workspace/db-ojb_RELEASE_1_0/target/doc/build/site/skin/images
     [echo] Copying project skin images to site ...
     [copy] Warning: 
/home/jakob/workspace/db-ojb_RELEASE_1_0/target/doc/src/documentation/skins/common/images

not found.
     [copy] Warning: 
/home/jakob/workspace/db-ojb_RELEASE_1_0/target/doc/src/documentation/skins/tigris/images

not found.
     [echo] Copying main skin css and js files to site ...
     [copy] Copying 8 files to 
/home/jakob/workspace/db-ojb_RELEASE_1_0/target/doc/build/site/skin
     [copy] Copied 3 empty directories to 2 empty directories under 
/home/jakob/workspace/db-ojb_RELEASE_1_0/target/doc/build/site/skin
     [copy] Copying 9 files to 
/home/jakob/workspace/db-ojb_RELEASE_1_0/target/doc/build/site/skin
     [echo] Copying project skin css and js files to site ...
     [copy] Warning: 
/home/jakob/workspace/db-ojb_RELEASE_1_0/target/doc/src/documentation/skins/common 
not found.
     [copy] Warning: 
/home/jakob/workspace/db-ojb_RELEASE_1_0/target/doc/src/documentation/skins/tigris 
not found.
     [echo] Finished copying the non-generated resources.
     [echo] Now Cocoon will generate the rest ...
     [echo]
     [echo] Static site will be generated at:
     [echo] /home/jakob/workspace/db-ojb_RELEASE_1_0/target/doc/build/site
     [echo]
     [echo] Note that there are various reasons for "build failed" messages.
     [echo] * Cocoon will report the status of each document:
     [echo]   - in column 1: *=okay X=brokenLink ^=pageSkipped (see FAQ).
     [echo] * Even if only one link is broken, you will still get "failed".
     [echo] * Your site would still be generated, but some pages would 
be broken.
     [echo] * Please check the file:
     [echo] 
/home/jakob/workspace/db-ojb_RELEASE_1_0/target/doc/build/tmp/brokenlinks.xml
     [echo] for any broken links in the generated site.

BUILD FAILED
/home/jakob/workspace/db-ojb_RELEASE_1_0/build.xml:826: The following 
error occurred while executing this line:
/usr/local/apache-forrest-0.6/src/core/targets/site.xml:43: Java returned: 1



Thomas Dudziak schrieb:

>The thing with having xml-commons-resolver in Ant's lib directory from
>the Forrest page:
>
>http://forrest.apache.org/docs/your-project.html#invoking_from_ant
>
>Judging from the doc for this lib
>
>http://xml.apache.org/commons/components/resolver/resolver-article.html
>
>its purpose is to locally resolve DTDs like the one you've got in the
>error message.
>So, yes according ot the Forrest docs, you need to put this library
>into Ant's lib foldr in order to run Forrest successfully.
>
>When I have a bit more time (weekend ?), I'll add some available
>usages to check for the libraries that OJB requires for its targets.
>
>Tom
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
>For additional commands, e-mail: ojb-dev-help@db.apache.org
>
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message