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 )

Published by Chaitanya

I am a family man, perpetual learner, coffee drinker, dessert eater and Happiness Engineer at Automattic. I also read, write, move, and meditate.

Leave a comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: