Month: October 2008

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 […]

Working with CruiseControl-1

While working with CruiseControl I faced the following issue. But I could not get help from Google. Hence I am listing the issue and its resolution. 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: Problem: failed to create task or type junit Cause: the class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask was not found.        […]

Python for loop

In Python, the for loop works differently.If we try to modify the loop iterator variable, it will be simply skipped and iterator will continue from its next value irrespective of the modification. So in case if we need to modify the loop iterator value in our logic, we have to choose while loop. for loop […]

Learning Python

Started learning Python using A Byte Of Python by Swaroop CH few weeks back.Started loving this programming language. It’s so simple and easy to learn.Also gathered couple of other good books from fellow Python enthusiast at work, Joe Jacob.Thank you Joe.   I will post any interesting information I find in Python.

Learnings at the Railway Ticket Booking Counter

During the festive times, getting train / bus tickets is getting very difficult.People are booking well in advance as soon as the bookings begin. For Indian Railways, it is 90 days before the date of journey.Everybody wants to go Home during the holidays and if the holiday comes with adjoining weekend, then the rush cant […]

Day 3

Success. Thanks to my social skills. I could manage to go at position 2 despite of arriving at 3rd position. Ok now what is all this about?  Will write in next post.