How to get rid of the @override errors in ant build

Posted on by Charalampos Chrysikopoulos

Go to your SDK and edit the build.${username}.properties and change the properties

  • ant.build.javac.source=1.5
  • ant.build.javac.target=1.5

to

  • ant.build.javac.source=1.6
  • ant.build.javac.target=1.6

Switching to java 1.6 will solve the problem, because its a limitation on the @override annotation of java 1.5

This entry was posted in Uncategorized and tagged by Charalampos Chrysikopoulos