i have upgraded the ant 1.6.5 to 1.7.1 version. JDK VERSION: 1.5 Here i could not find ant-contrib-1.0b1.jar file and i am getting following error when issued mergecopy command in build.xml java.lang.NoSuchFieldError: filesets at com.steelwedge.tasks.MergeCopy.execute(MergeCopy.java:103) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav a:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337) at org.apache.tools.ant.Project.executeTarget(Project.java:1306) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe cutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1189) at org.apache.tools.ant.Main.runBuild(Main.java:758) at org.apache.tools.ant.Main.startAnt(Main.java:217) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
I'm not sure why you mention ant-contrib. From the stacktrace it looks as if Ant had changed some internal API that the custom task com.steelwedge.tasks.MergeCopy relies on. Without knowing the code of that task, it is hard to guess what we've changed and whether there is a workaround.
Ok, my guess is MergeCopy extends Copy. Copy used to have a protected Vector attribute named filesets that has been renamed to rcs in Ant 1.7.0. svn revision 690264 re-adds this attribute.