Forum Discussion

twrwrtp's avatar
twrwrtp
New Contributor
12 years ago

Upgrade version of groovy

Hi,

I don't know if it qualifies as a soapui bug or not but bundled 1.8.0 version of groovy (soapui 4.5.1) has the following problem:
JsonSlurper does not handle backslashes at the end of a String
http://jira.codehaus.org/browse/GROOVY-5144

This issue was fixed in 1.8.6.

Would it be possible to upgrade groovy to latest version, 1.8.9 or 2.x?

Thanks
  • SiKing's avatar
    SiKing
    Community Expert
    I already filed this with SmartBear. They said _all_ the libraries are outdated, and it will take a very long time to upgrade them.
    In the meantime you can copy $GROOVY_HOME/embeddable/groovy-all-2.*.jar to $SOAPUI_HOME/lib, and remove $SOAPUI_HOME/lib/groovy-all-1.8.0.jar. I am running with Groovy 2.1.1 so far with no problems.
  • redfish4ktc2's avatar
    redfish4ktc2
    Super Contributor
    about the upgrade, this is also because soapui use a specific way to declare it dependencies. Which means, that upgrading the version would also require add new dependencies to the maven repository used to build soapui.
    Current plan is first to use regular maven coordinates in maven build and clean dependencies, then upgrade (that will require intensive testing to avoid regressions)
    for more information, see also viewtopic.php?f=5&t=20368 about modifying maven coordinates and this one about upgrading the soapui maven repository viewtopic.php?f=2&t=17585