It seems I have not provided a typedef for "for" . I corrected myself and changed my code to this:
I got this error:
So I checked the plugins library in eclipse folder and found that there is no ant-lib there. So I downloaded one and copied it to the lib folder of the ant plugin. But still I am getting the same error. Do I need to set the path somewhere. I am using Eclipse Galileo 3.5 which has ANT as plugin so i haven't downloaded ANT and configured it in my system manually.
Joined: Jun 03, 2010
I got the solution
I imported the jar(ant-contrib-1.0b3 which I have downloaded and kept in eclipse/plugins/org.apache.ant_1.7.1.v20090120-1145/lib) in Eclipse, by Windows--?Preferences-->Ant-->Runtime--->Add External Jars in Ant Home Entries.
Now my build.xml is working fine:
Here is my snippet: