Working with CruiseControl-2

Another issue which took considerable amount of my time to resolve is the following.
Issue:
D:\CruiseControl\BuildServer\WorkArea\SampleCCProject\build-cc.xml:10: The following error occurred while executing this line:
D:\CruiseControl\BuildServer\WorkArea\SampleCCProject\build.xml:56: java.lang.NoSuchMethodError: org.apache.tools.ant.util.FileUtils.createTempFile(Ljava/lang/String;Ljava/lang/String;Ljava/io/File;ZZ)Ljava/io/File;
Resolution:

This is because of Ant and JUnit version mismatch.I was initially using Apache Ant 1.7.1 because its latest release as on date. I got rid of it by using Ant 1.6.5 with JUnit 3.8.2 ( comes with CruiseControl )


Comments

Leave a Reply

Discover more from Chai's Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading