Carsten Ziegeler wrote:
Yesterday I updated Cocoon 2.2 to Spring 2.0 final - and the big plus is
that the maven repository contains correct poms for this version :)

Apart from that the new property override configuration mechanism is now
in place as well. This means by default the spring application context
we add a processor to the application context as described here:

http://static.springframework.org/spring/docs/2.0.x/reference/beans.html#beans-factory-overrideconfigurer

which reads all properties files from the "spring" directory (both
"WEB-INF/cocoon/spring" and "{sitemap-directory}/config/spring}" and
applies the configuration information found there. The propery file
should use the following format:
{bean-name}/{property-name}={value}

hmm, why do we have another mechanism for setting properties now?. can't we put in all properties into WEB-INF/cocoon/properties?

--
Reinhard Pötz Independent Consultant, Trainer & (IT)-Coach
{Software Engineering, Open Source, Web Applications, Apache Cocoon}

                                       web(log): http://www.poetz.cc
--------------------------------------------------------------------

        

        
                
___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de

Reply via email to