cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <reinh...@apache.org>
Subject Re: [2.2] Avalon does not hidden spring exceptions.
Date Mon, 29 May 2006 08:11:17 GMT
Antonio Gallardo wrote:
> Reinhard Poetz escribió:
>> IIUC this exception means that your testcase xconf doesn't provide a 
>> bean with the name "org.apache.excalibur.source.SourceFactory/file", 
>> does it?
>>
> Would you explain more? :-)

First, I'm not a specialist in our junit testing mechanisms and I guess that 
there was some change between 2.1 and 2.2 because of the move to Spring. Looking 
at XIncludeTransformerTestCase.xtest

<testcase>
  <context>
    <entry name="root-url" value="/"/>
  </context>

  <roles>
   <role name="org.apache.excalibur.xml.sax.SAXParser"
         shorthand="xml-parser"
         default-class="org.apache.excalibur.xml.impl.JaxpParser"/>
  </roles>

  <components/>

</testcase>

I see that there is no component org.apache.excalibur.source.SourceFactory/file 
available. Try to add it to the components part and run the tests again.

Maybe Carsten can help here more (and explain what's the difference between 2.1 
and 2.2 here).

-- 
Reinhard Pötz           Independent Consultant, Trainer & (IT)-Coach 

{Software Engineering, Open Source, Web Applications, Apache Cocoon}

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

	

	
		
___________________________________________________________ 
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de

Mime
View raw message