You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Mistry, Deep M" <de...@bankofamerica.com> on 2006/06/06 16:32:09 UTC

junitreport task problem

Hi,

 

I've problems in executing the junitreport task. 

Every time I try to run, it gives me the following exception. 

 

BUILD FAILED: D:\server\build.xml:287: Could not find a valid processor
version implementation from weblogic.xml.jaxp.RegistrySAXTransformerFactory

 

Yes, I do have weblogic.jar in my ant\lib dir. I require this for starting
the weblogic server and executing junit test prior to this junireport task. 

I've also tried including xalan.jar and jaxp.jar in ant\lib dir but it still
looks in weblogic.jar. 

 

Is there a way to solve this problem? 

 

Thanks. 


Re: junitreport task problem

Posted by Antoine Levy-Lambert <an...@gmx.de>.
Hello Deep,

if you can fiddle with your weblogic.jar, remove the following entry from it :

META-INF\services\javax.xml.transform.TransformerFactory

this is a tiny file containing :

weblogic.xml.jaxp.RegistrySAXTransformerFactory

I also have problems with the weblogic transformation implementation when I run the tests of ant, it prevents the production of an XML file at the end of the test suite.

Regards,
Antoine

> -------- Original-Nachricht --------
> Datum: Tue, 06 Jun 2006 09:32:09 -0500
> Von: "Mistry, Deep M" <de...@bankofamerica.com>
> An: user@ant.apache.org
> Betreff: junitreport task problem
> 
> Hi,
> 
>  I've problems in executing the junitreport task. 
> 
> Every time I try to run, it gives me the following exception. 
> 
>  BUILD FAILED: D:\server\build.xml:287: Could not find a valid processor
> version implementation from
> weblogic.xml.jaxp.RegistrySAXTransformerFactory
> 
>  Yes, I do have weblogic.jar in my ant\lib dir. I require this for
> starting
> the weblogic server and executing junit test prior to this junireport
> task. 
> 
> I've also tried including xalan.jar and jaxp.jar in ant\lib dir but it 
> still
> looks in weblogic.jar. 
> 
>  Is there a way to solve this problem? 
> 
>  Thanks. 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org