Forum Discussion
You learn something new every day! :-)
I didn't realise that the file data source would do the splitting. I think it's usually always better to use the the in-built functionality rather than custom scripting, though I would be the first to admit that sometimes I'm guilty of resorting to Groovy too quickly.
An aside about the external libraries (appologies for going off topic a bit)...
groovyguy, regarding your comment about other users having to remember to add the libraries. In our environment Ready API is installed via pc management software, thus just get the software to add all the required jar file, so we luckily don't have to worry about that, but a very valid point none the less. Interstingly though this discussion has got me thinking about the issues/overheads of using external libraies and I've just spotting that Ready API actually installs a large number of the Apache Commons libraries into it's own lib directory, IgorG, is there an "official" SmartBear line about referencing the jars in the lib directory from user Groovy scripts? Do I need to go back and investigate if I need to bother to add them to my ext directory after all?
nmrao, thanks for the pointer to the "GroovyCSV" library I'll be sure to check it out. When looking for external libraries I tend to first look at the Apache Commons web site and stop there if something fits the bill, thus I know I do miss out on other alternative libraries.
Apache-commons is, of course, a good place for the libraries for the people who uses Java. However, if some one uses pure groovy code, most of the times either not required or less and readable code with groovy without even using any libraries.
- nmrao9 years agoCommunity HeroFor those who fond of learning groovy, this should be a quick walk thru
https://speakerdeck.com/glaforge/what-makes-groovy-groovy- richie9 years agoCommunity Hero
bookmarked the link - thanks!
nmrao wrote:
For those who fond of learning groovy, this should be a quick walk thru
https://speakerdeck.com/glaforge/what-makes-groovy-groovy