On Fri, 2011-11-25 at 09:13 +0100, Francesco Chicchiriccò wrote:
> On 24/11/2011 15:45, Thorsten Scherler wrote:
> > Hi all,
> >
> > I noticed that if you do
> > mvn clean install jetty:run
> > on e.g. cocoon-sample
> >
> > You will get target/rcl/webapp/WEB-INF/log4j.xml and an appContext that
> > points to log4j.
> >
> > Where is this coming from? I would like to update that to only use
> > logback.xml as we do in
> > archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/applicationContext.xml
> >
> > Any pointers?
>
> Hi,
> cocoon-sample depends on cocoon-rcl-webapp-wrapper [1], which in turns
> depends on log4j.
>
> However, if you do "mvn clean package jetty:run" on cocoon-sample-webapp
> (instead of cocoon-sample), you won't find any trace of log4j any more.
>
Ok very good to now.
> Unfortunately, there are quite some dependencies that I guess were
> initially thought for C2.2, then used for C3 and now getting old like as:
>
> * cocoon-spring-configurator: think that I had to put replacement of
> Log4JConfigurator, LogbackConfigurator, in cocoon-servlet [2]
> * cocoon-rcl-webapp-wrapper
> * cocoon-xml: think that I had to put ParamSAXBuffer extending
> SAXBuffer in cocoon-sax [3]
>
> I think we should decide how to cope with this.
>
IMO we should either create a new version of them only compatible with
c3 or update c2.2. IMO All above mentioned should have new versions and
work with c3.
Thanks for the clarification.
salu2
> Regards.
>
> [1]
> https://svn.apache.org/repos/asf/cocoon/tags/cocoon-2.2/cocoon-rcl-webapp-wrapper/cocoon-rcl-webapp-wrapper-1.0.0/pom.xml
> [2]
> http://old.nabble.com/Re%3A--C3--replacing-the-logging-framework-p32226435.html
> [3] http://old.nabble.com/Re%3A--C3--i18n-support-p32242981.html
>
--
Thorsten Scherler <thorsten.at.apache.org>
codeBusters S.L. - web based systems
<consulting, training and solutions>
http://www.codebusters.es/
|