[ http://issues.apache.org/jira/browse/COCOON-1903?page=all ]
Lars Trieloff closed COCOON-1903.
---------------------------------
Resolution: Fixed
> [PATCH] cocoon-block-deployer does not reflect latest spring configuration
> changes
> ----------------------------------------------------------------------------------
>
> Key: COCOON-1903
> URL: http://issues.apache.org/jira/browse/COCOON-1903
> Project: Cocoon
> Issue Type: Bug
> Components: - Build System: Maven
> Affects Versions: 2.2-dev (Current SVN)
> Reporter: Lars Trieloff
> Attachments: cocoon-block-deployer-spring-support.patch
>
>
> In revision 436902 cziegeler changed the way a cocoon web application is
> loaded in order to provide better spring support. This change had been
> applied to the cocoon-webapp example web application, but not to the mininmal
> web application configuration provided by the cocoon-block-deployer maven
> plugin resulting in breaking the mvn cocoon:deploy jetty6:run target used for
> developing custom blocks in trunk. (In effect class
> org.apache.cocoon.servlet.CocoonServletListener could not found)
> The attached patch updates the web.xml provided by the cocoon-block-deployer
> to use org.springframework.web.context.ContextLoaderListener instead of
> org.apache.cocoon.servlet.CocoonServletListener, adds an
> applicationContext.xml to the cocoon-block-deployer and makes
> cocoon-block-deployer deploy this applicationContext.xml additionally to
> web.xml.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira