forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject Re: latest forrest can't build incubator site
Date Thu, 26 Aug 2004 07:10:57 GMT
Rodent of Unusual Size wrote:
> following ian holsman's instructions (http://tinyurl.com/5xwro),
> unfortunately i am unable to build the incubator site to add/update
> the derby.html file.  this is with the bleeding edgs forrest from
> svn.  attached is the output from a 'forrest' command run in the
> top of the checked-out incubator module.
> 
> there are complaints about skins, and cocoon exceptions, and ..
> i am just a consumer of this, not a java developer, and have no
> idea how to interpret this stuff, much less get it working.

Looking at your output, they are all just warnings
(except for your fatal problem at the end).

> i feel really uncomfortable that the incubator site is dependent
> upon what appears to be an at least somewhat fragile system.  anyone
> should be able to essentially download & go to build/update it
> without having to tweak the build tools at all.

That is correct ... not that Forrest is "fragile"
but that anyone can download and go "build".
(Except for your case :-)

> why won't the incubator site build with an actual forrest release?
> (i haven't tried it; i'm drawing this from ian's comments.)

I don't know why Ian says that the old 0.5.1 forrest
is busted. He does not give any information away - just
the usual "it doesn't work".

> help..

We will try.

In your output below, "com/ibm/crypto/provider/IBMJCE" is nothing
to do with either Forrest or Cocoon.

--David

> $ forrest
> Apache Forrest.  Run 'forrest -projecthelp' to list options
> 
> Buildfile: /home/coar/apache-forrest/src/core/forrest.build.xml
> 
> init-props:
> Loading project specific properties from /home/coar/apache-incubator/forrest.properties
> Loading user specific properties from /home/coar/forrest.properties
> Loading default properties from /home/coar/apache-forrest/src/core/context/default-forrest.properties
> forrest.basic.jvmargs:-Dproject.home="/home/coar/apache-incubator" -Dforrest.home="/home/coar/apache-forrest/src/core"
> 
> -- Warning --
> skin forrest-site no longer exists, using crust instead.  Please update forrest.properties
> 
> echo-settings:
> 
> check-skin:
> 
> fetch-skins-descriptors:
> 
> fetch-skin:
> 
> unpack-skins:
> 
> init-skins:
> 
> init:
> 
> -prepare-classpath:
> 
> check-contentdir:
> 
> site:
> Deleting directory /home/coar/apache-incubator/build/tmp/cocoon-work
> Created dir: /home/coar/apache-incubator/build/tmp/cocoon-work
> 
> Copying the various non-generated resources to site.
> Warnings will be issued if the optional project resources are not found.
> This is often the case, because they are optional and so may not be available.
> Copying project resources and images to site ...
> Warning: /home/coar/apache-incubator/site/content not found.
> Warning: /home/coar/apache-incubator/build/webapp/resources not found.
> Copying main skin images to site ...
> Copying 21 files to /home/coar/apache-incubator/build/site/skin/images
> Copying 12 files to /home/coar/apache-incubator/build/site/skin/images
> Copying project skin images to site ...
> Warning: /home/coar/apache-incubator/site/skins/common/images not found.
> Warning: /home/coar/apache-incubator/site/skins/crust/images not found.
> Copying main skin css and js files to site ...
> Copying 7 files to /home/coar/apache-incubator/build/site/skin
> Copying 3 files to /home/coar/apache-incubator/build/site/skin
> Copying project skin css and js files to site ...
> Warning: /home/coar/apache-incubator/site/skins/common not found.
> Warning: /home/coar/apache-incubator/site/skins/crust not found.
> Finished copying the non-generated resources.
> Now Cocoon will generate the rest ...
> 
> Static site will be generated at:
> /home/coar/apache-incubator/build/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:
> /home/coar/apache-incubator/build/tmp/brokenlinks.xml
> for any broken links in the generated site.
> Exception in thread "main" java.lang.NoClassDefFoundError: com/ibm/crypto/provider/IBMJCE
(wrong name: org/apache/cocoon/Main)
> 	at java.lang.ClassLoader.defineClass0(Native Method)
> 	at java.lang.ClassLoader.defineClass(ClassLoader.java:496)
> 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:117)
> 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
> 	at java.net.URLClassLoader.access$300(URLClassLoader.java:69)
> 	at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:544)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:203)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:325)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:381)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:257)
> 
> BUILD FAILED
> /home/coar/apache-forrest/src/core/targets/site.xml:43: Java returned: 1
> 
> Total time: 6 seconds


Mime
View raw message