AntBuilder error in ReadyAPI 3.20.0
Hi, ReadyAPI upgrade to v3.20.0 broken our groovy scripts that uses AntBuilder() class.
Per release notes, the following libraries have been removed from ReadyAPI 3.20.0:
ant
ant-antlr
ant-junit
ant-launcher
Though we have added these libs manually to \lib folder, we are getting below error when running scripts.
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script1.groovy: 50: unable to resolve class AntBuilder @ line 50, column 7. new AntBuilder().copy(todir: archResponse){ ^ org.codehaus.groovy.syntax.SyntaxException: unable to resolve class AntBuilder @ line 50, column 7. at org.codehaus.groovy.ast.ClassCodeVisitorSupport.addError(ClassCodeVisitorSupport.java:262) at
TIA.
This issue is resolved by adding one more jar file to /lib folder.
Added groovy-ant jar file
thanks.