Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 7856 invoked from network); 21 Sep 2003 13:08:00 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 21 Sep 2003 13:08:00 -0000 Received: (qmail 33643 invoked by uid 500); 21 Sep 2003 13:07:52 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 33575 invoked by uid 500); 21 Sep 2003 13:07:51 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 33562 invoked from network); 21 Sep 2003 13:07:51 -0000 Received: from unknown (HELO grid1.hypergrid.it) (80.204.47.132) by daedalus.apache.org with SMTP; 21 Sep 2003 13:07:51 -0000 Received: (qmail 3824 invoked by uid 1005); 21 Sep 2003 13:07:40 -0000 Received: from u.cei@cbim.it by grid1 with HyperGrid Anti-Virus System Processed in 22.274644 secs; 21 Sep 2003 13:07:40 -0000 Received: from unknown (HELO cbim.it) (ugo.cei@ymail.it@80.117.39.145) by 0 with RC4-MD5 encrypted SMTP; 21 Sep 2003 13:07:18 -0000 Message-ID: <3F6DA27F.3090705@cbim.it> Date: Sun, 21 Sep 2003 15:07:11 +0200 From: Ugo Cei User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030619 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: test case (class DefaultSitemapComponentSelector not found ) References: <002c01c37ba3$73598c40$61123951@astikoportable> In-Reply-To: <002c01c37ba3$73598c40$61123951@astikoportable> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [Please do not send HTML mail to this list, thanks.] Nicolas Maisonneuve wrote: > hy i would test a transformer and i used the code of the cocoon > AbtractTransformerTestCase class > and the "TraxTransformerTestCase.xtest" > > but i have a error : > the class "org.apache.cocoon.sitemap.DefaultSitemapComponentSelector" is > not found 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(ExtendedComponentSelector.java:283) 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? Ugo