Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Ant and JUnit (Build Failed)

Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Please help me to find a possible solution to the error when I build.

Here is the log:

[echo] Date/Time of Build: 18-Sep-2006 09:50 AM

[junit] Running com.datalex.has.travelservices.sabre.SabreUtilsTest
[junit] Successfully passed all assertions...
[junit] Time = Sat May 13 09:50:15 CST 2006
[junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 0.215 sec
[junit] Test com.datalex.has.travelservices.sabre.SabreUtilsTest FAILED
[junit] Running com.datalex.has.travelservices.sabre.handlers.SabreAirPricin
[junit] testValidateSoldSegments
[junit] testExceptionOnValidateSoldSegments
[junit] testExceptionOnValidateSoldSegments
[junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 0.416 sec
[junit] Test com.datalex.has.travelservices.sabre.handlers.SabreAirPricingTe
[junit] Running com.datalex.has.travelservices.sabre.handlers.SabreBookingTe
[junit] Tests run: 9, Failures: 0, Errors: 9, Time elapsed: 0.293 sec
[junit] Test com.datalex.has.travelservices.sabre.handlers.SabreBookingTest
[junit] Running com.datalex.has.travelservices.sabre.handlers.SabreScreenTes
[junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.185 sec
[junit] Test com.datalex.has.travelservices.sabre.handlers.SabreScreenTest F

javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xa
lan.processor.TransformerFactoryImpl not found

Total time: 3 minutes 59 seconds

It seems that ant probably looking for a class file name TransformerFactoryImpl.class in the xalan.jar file. I already check this file, and I found the TransformerFactoryImpl.class inside that jar. I have no further idea on to what this class file will do in my junit test and jcoverage.

Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Anthony,

The error message looks like to be coming up while
making the JUnit report.

Do you have the target to make report for the test?

Which version of ANT are you using?
What? What, what, what? What what tiny ad:
We need your help - Coderanch server fundraiser
    Bookmark Topic Watch Topic
  • New Topic