The Spring Petstore is now hosted on Cocoondev.org. Use the following instructions only if you can't use SVN to fetch the source code.
Old instructions
The spring-20040709.zip contains a Cocoon block implementing a version of the Petstore done with Spring and Hibernate.
gump.xml
and add the following:
<project name="cocoon-block-spring" status="unstable">
<package>org.apache.cocoon</package>
<ant target="gump-block">
<property name="block-name" value="spring"/>
<property name="version" value="@@'*_DATE@@"/>
</ant>
<depend project="cocoon" inherit="all"/>
<work nested="tools/anttasks"/>
<home nested="build/cocoon-@@_*'DATE@@"/>
<jar name="blocks/spring-block.jar"/>
<nag from="Gump" to="dev@cocoon.apache.org"/>
</project>
local.blocks.properties
: forms, databases, hsqldb. Exclude JARs validation from local.build.properties
.cocoon servlet
) and navigate to the "Spring" sample.
I've just uploaded a new version that doesn't use the CompilingClassLoader, which caused some problems, anymore.
I've also started to refactor the loading of data to use XML files instead of directly instantiating persistent Java beans.
New version with more data loaded from XML files.
Attachment: spring-20040707.zip
Attachment: spring-20040709.zip