I get cocoon through svn this morning.
I typed these commands :
* mvn -Dmaven.test.skip=true -Dallblocks install
Then, I've been to core/cocoon-webapp and typed :
* mvn -Dmaven.war.shieldingclassloader=false cocoon:deploy jetty:run
I still encountered the shielding problem, that I solved with a mvn
clean as suggested :
* mvn clean
* mvn -Dmaven.war.shieldingclassloader=false cocoon:deploy jetty:run
Cocoon started.
I go to samples link and I get the above error :
*java.lang.IllegalArgumentException: Initial capacity must be greater than 0
that is related, through stacktrace observation, to this :
****************
java.lang.IllegalArgumentException: Initial capacity must be greater than 0
at
org.apache.commons.collections.map.AbstractHashedMap.<init>(AbstractHashedMap.java:143)
at
org.apache.commons.collections.map.AbstractHashedMap.<init>(AbstractHashedMap.java:128)
at
org.apache.commons.collections.map.HashedMap.<init>(HashedMap.java:63)
at
org.apache.cocoon.components.source.impl.BlockContextSource.createChildren(BlockContextSource.java:93)
at
org.apache.cocoon.components.source.impl.BlockContextSource.<init>(BlockContextSource.java:65)
at
org.apache.cocoon.components.source.impl.BlockContextSourceFactory.getSource(BlockContextSourceFactory.java:62)
and this :
****************
org.apache.cocoon.ProcessingException: Failed to process pipeline
at <map:serialize type="html"> -
file:/C:/opt/programs/cocoon/core/cocoon-webapp/target/cocoon-webapp/blocks/sitemap.xmap:36:37
at <map:transform> -
file:/C:/opt/programs/cocoon/core/cocoon-webapp/target/cocoon-webapp/blocks/sitemap.xmap:33:94
at <map:transform> -
file:/C:/opt/programs/cocoon/core/cocoon-webapp/target/cocoon-webapp/blocks/sitemap.xmap:32:49
at <map:generate type="xpathtraversable"> -
file:/C:/opt/programs/cocoon/core/cocoon-webapp/target/cocoon-webapp/blocks/sitemap.xmap:27:68
Thanks for the help
--
Jean-Christophe Kermagoret
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]