I'm running Team City 3.x on Windows 2003. I have an ant build script that builds a J2ME project for CLDC/MIDP and also for running unit tests with JUnit. Checking the code coverage check box on the Ant build runner makes the build fail. I've been trying to add code coverage reporting with EMMA inside our build script, so that I can get coverage on my own machine. I'd like to run this under Team City, but it fails with the error "failed to create task or type emma"
The build runs on my dev machine and on the build machine on the command line without errors.
I'm pretty sure it's because of something Team City is doing that it's failing in Team City.
Here's what I've tried :
- I've tried just running the ant script
- I've tried to put emma_ant.jar in the TC Ant lib folder.
- I've tried with a custom Ant location
I've attached the build log and the build file.
Any help with my problem would be appreciated.