I just had a funny debugging experience. I had added a new Ant target with a Java task, but when I tried to execute it Ant complained with the following error message:
The <java> type doesn’t support the “classame” attribute
As I didn’t see anything obvious, I did what I often do in those cases: I copied and pasted the error message into Google. This time there were no search results, but Google responded with a helpful message nonetheless:
Did you mean: The <java> type doesn’t support this “classname” attribute
I struggled to see the difference between what I had typed in and what Google suggested and finally realized that I had accidentally omitted an “n” in the “classname” attribute.
Go Google! :)