Contributions
How @Grab works in SoapUI
I use SoapUI-5.4.0. I work on Windows, and I am behind a proxy an work with Nexus. How do I get this to work? @Grab(group='commons-lang', module='commons-lang', version='2.4') import org.apache.commons.lang.WordUtils println "Hello ${WordUtils.capitalize('world')}" I put ivy-2.4.0.jar in the lib directory. I see in the log: General error during conversion: Error grabbing Grapes -- [unresolved dependency: commons-lang#commons-lang;2.4: several problems occurred while resolving dependency: commons-lang#commons-lang;2.4 {default=[default]}: several problems occurred while resolving dependency: org.apache.commons#commons-parent;9 {}: several problems occurred while resolving dependency: org.apache#apache;4 {}: java.util.NoSuchElementException There are: C:\Users\isc30565\.groovy\grapes\commons-lang\commons-lang\ivydata-2.4.properties C:\Users\isc30565\.groovy\grapes\org.apache.commons\commons-parent\ivydata-9.properties C:\Users\isc30565\.groovy\grapes\org.apache\apache\ivydata-4.properties For example in the first one: #ivy cached data file for commons-lang#commons-lang;2.4 #Fri Sep 17 13:42:05 CEST 2021 artifact\:commons-lang\#pom.original\#pom\#-<a number>.location=file\:C\:/Users/<me>/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.pom artifact\:commons-lang\#pom.original\#pom\#-<a number>.is-local=true artifact\:commons-lang\#pom.original\#pom\#-<a number>.original=artifact\:commons-lang\#pom.original\#pom\#-2103761529 artifact\:commons-lang\#pom.original\#pom\#-<a number>.exists=true775Views0likes3Commentsextensions classpath?
I have 2 groovy scripts, one which needs a sybase driver jconn4.jar, and the other needs a custom jar, which itself needs the jconn4.jar. When I put both in soapui's lib folder, both work. But I don't know if this is the intention. Because in the documentation I read that the bin\ext folder is meant for this. When I put jconn4.jar in bin\ext instead, and run soapui.bat, I see: 14:14:52,571 INFO [SoapUI] Adding [D:\dev\SoapUI-5.4.0\bin\ext\jconn4.jar] to extensions classpath But when I run the first groovy script, in this case, I see:No suitable driver found for ... So what does extensions classpath mean?718Views0likes0Comments