cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Michels <>
Subject Re: test case (class DefaultSitemapComponentSelector not found )
Date Sun, 21 Sep 2003 15:46:15 GMT

On Sun, 21 Sep 2003, Ugo Cei wrote:

> Looks like the org.apache.cocoon.sitemap.DefaultSitemapComponentSelector
> was recently removed, thus breaking all the tests. I've tried to
> implement a quick fix and substituted
> o.a.c.components.treeprocessor.sitemap.ComponentsSelector for it in the
> .xtest files, but I get the following error:
> Testcase: testFileGenerator took 0 sec
>          Caused an ERROR
> Could not load class  for component named 'file' at null:62:88
> org.apache.avalon.framework.configuration.ConfigurationException: Could
> not load class  for component named 'file' at null:62:88
>          at
> org.apache.cocoon.components.ExtendedComponentSelector.configure(
> So, is o.a.c.components.treeprocessor.sitemap.ComponentsSelector the
> right class to use and how do we fix the .xtest files? Or would it be
> better to restore the DefaultSitemapComponentSelector and mark it as
> deprecated?

I replaced the selector by the ExtendedComponentSelector, and it seems to
work. But nevertheless the Resolver testcase break the tests.

Stephan Michels.

View raw message