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.

Installation instructions

<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>

Update 2004-06-22

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.

Update 2004-06-23

New version with more data loaded from XML files.

Update 2004-06-24

Update 2004-06-29

Update 20004-07-07

Update 20004-07-09

Attachment: spring-20040707.zip

Attachment: spring-20040709.zip