cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rice Yeh" <rice...@gmail.com>
Subject Re: <map:components> cannot be in sitemap.xml anymore?
Date Tue, 19 Sep 2006 08:14:47 GMT
Index:
C:/apache/cocoon.home/svn/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/core/container/spring/avalon/SitemapHelper.java
===================================================================
---
C:/apache/cocoon.home/svn/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/core/container/spring/avalon/SitemapHelper.java
(revision 447720)
+++
C:/apache/cocoon.home/svn/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/core/container/spring/avalon/SitemapHelper.java
(working copy)
@@ -200,7 +200,7 @@
         final String factoryRole = config.getAttribute("factory-role",
ClassLoaderFactory.ROLE);

         // Create a new classloader
-        ClassLoaderConfiguration configBean =
AvalonUtils.createConfiguration(sitemapResolver, config);
+        ClassLoaderConfiguration configBean =
AvalonUtils.createConfiguration(sitemapResolver, classPathConfig);
         ClassLoaderFactory clFactory =
(ClassLoaderFactory)parentFactory.getBean(factoryRole);
         return clFactory.createClassLoader(Thread.currentThread
().getContextClassLoader(),
                                            configBean,

On 9/19/06, Leszek Gawron <lgawron@mobilebox.pl> wrote:
>
> Rice Yeh wrote:
> > I find this problem is because of a bug at line 203 in
> > org.apache.cocoon.core.container.spring.avalon.SitemapHelper, where
> > classPathConfig shoud be passed as argument to method
> > AvalonUtils.createConfiguration, intead of config.
>
> Could you provide a patch?
>
> --
> Leszek Gawron, IT Manager                          MobileBox sp. z o.o.
> +48 (61) 855 06 67                              http://www.mobilebox.pl
> mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65
>

Mime
View raw message