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

Reply via email to