<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error due to older Groovy version in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Error-due-to-older-Groovy-version/m-p/2314059#M84861</link>
    <description>Hi Rebecca, 
&lt;BR /&gt;I did that, and - having Groovy-2.1.1.jar renamed to Groovy-1.0.jar - compilation now failed because the generated java code still has a dependency on a Groovy 1.0 method which is no longer in Groovy 2.1.1. Here is the excerpt: 
&lt;BR /&gt;String codetGroovy_1 = "my groovy script"; 
&lt;BR /&gt;java.io.ByteArrayInputStream istGroovy_1 = new java.io.ByteArrayInputStream(codetGroovy_1.getBytes()); 
&lt;BR /&gt;groovy.lang.Binding bindingtGroovy_1 = new groovy.lang.Binding(); 
&lt;BR /&gt;bindingtGroovy_1.setVariable("i2b2DataDir", context.i2b2DataDir); 
&lt;BR /&gt;groovy.lang.GroovyShell shelltGroovy_1 = new groovy.lang.GroovyShell(bindingtGroovy_1); 
&lt;BR /&gt;shelltGroovy_1.evaluate(istGroovy_1); // &amp;gt;&amp;gt;&amp;gt; compilation fails here &amp;lt;&amp;lt;&amp;lt; 
&lt;BR /&gt;The method GroovyShell.evaluate(InputStream) was deprecated in Groovy 1.8, and later removed from the API. One possible solution would be to use the method GroovyShell.evaluate(String) instead, and pass codetGroovy_1 to it. 
&lt;BR /&gt;Best regards, 
&lt;BR /&gt;Yves</description>
    <pubDate>Fri, 15 Mar 2013 13:06:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-03-15T13:06:39Z</dc:date>
    <item>
      <title>Error due to older Groovy version</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-due-to-older-Groovy-version/m-p/2314051#M84853</link>
      <description>Hi,
&lt;BR /&gt;I have code in a tGroovy component which requires a more recent version of Groovy than is provided in Talend. Specifically, there is a missing property 'mkp' in the class MarkupBuilder which is loaded from groovy-1.0.jar. I tested the same script in a recent Groovy version, where it works. Then I installed a more recent version of Talend (5.2.2), to find out it uses the same Groovy version. Next I thought about replacing the jar file, however this got me into deeper trouble. 
&lt;BR /&gt;Any advice?
&lt;BR /&gt;Kind regards,
&lt;BR /&gt;Yves</description>
      <pubDate>Tue, 12 Mar 2013 14:17:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-due-to-older-Groovy-version/m-p/2314051#M84853</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-12T14:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error due to older Groovy version</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-due-to-older-Groovy-version/m-p/2314052#M84854</link>
      <description>To be a bit more specific: 
&lt;BR /&gt;As can be seen in the TOS install dir, the Groovy version is quite recent: 
&lt;BR /&gt;\plugins\org.codehaus.groovy_1.8.6.xx-20120301-1300-e36-RELEASE\ 
&lt;BR /&gt;However, my Groovy code is in a tGroovy component, and the tGroovy component depends on the file groovy-1.0.jar in the tGroovyFile component. When this jar is replaced by one which is more recent, errors occur when building the script ("groovy-1.0.jar is missing" etc.) 
&lt;BR /&gt;Is there any way of fixing this? 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Yves</description>
      <pubDate>Tue, 12 Mar 2013 15:14:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-due-to-older-Groovy-version/m-p/2314052#M84854</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-12T15:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error due to older Groovy version</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-due-to-older-Groovy-version/m-p/2314053#M84855</link>
      <description>Any one? I find this dependency on groovy-1.0.jar quite odd, frankly...&lt;BR /&gt;(full path: \plugins\org.talend.designer.components.localprovider_5.2.2.r99271\components\tGroovyFile)&lt;BR /&gt;Thanks,&lt;BR /&gt;Yves</description>
      <pubDate>Wed, 13 Mar 2013 12:36:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-due-to-older-Groovy-version/m-p/2314053#M84855</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-13T12:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error due to older Groovy version</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-due-to-older-Groovy-version/m-p/2314054#M84856</link>
      <description>To continue my monologue :-)... (I do hope someone is listening out there) 
&lt;BR /&gt;So it turns out Talend uses Groovy v1.0, despite of - and as mentioned earlier - the plugin which suggests Groovy v.1.8.6 
&lt;BR /&gt;In my script: println org.codehaus.groovy.runtime.InvokerHelper.getVersion() 
&lt;BR /&gt;Any plans to update the tGroovy (and tGroovyFile) components to a recent Groovy version? 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Yves</description>
      <pubDate>Thu, 14 Mar 2013 07:37:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-due-to-older-Groovy-version/m-p/2314054#M84856</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-14T07:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error due to older Groovy version</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-due-to-older-Groovy-version/m-p/2314055#M84857</link>
      <description>Hi yvest, 
&lt;BR /&gt;There is an issue reported on talend bug tracker: 
&lt;A href="https://jira.talendforge.org/browse/TDI-24781" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TDI-24781&lt;/A&gt;. Our developer will make a research on it and give the response asap, thanks for your suggestion. 
&lt;BR /&gt;In addition, I have a solution for your issue. Download the new version jar and rename the jar as "Groovy-1.0.jar", and then replace the old one, try it and let me know if it works? 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDh7.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144731iD9C58E82C41394A5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDh7.png" alt="0683p000009MDh7.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 15 Mar 2013 06:20:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-due-to-older-Groovy-version/m-p/2314055#M84857</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-15T06:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error due to older Groovy version</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-due-to-older-Groovy-version/m-p/2314056#M84858</link>
      <description>Hi Sabrina, 
&lt;BR /&gt;Many thanks for your response. I had tried already your suggestion of taking a recent jar and renaming it, however other problems arose (in the generated java code for the tGroovy component, the GroovyShell.evaluate() method which accepts an InputStream was first deprecated and has subsequently been removed; hence the code won't compile). 
&lt;BR /&gt;For now, I have worked around the issue by using tSystem and executing the script in the Groovy SDK on my system. However this is a rather ugly and non-portable solution, which I will surely fix as soon as Talend adapts the most recent Groovy version. 
&lt;BR /&gt;Best regards, 
&lt;BR /&gt;Yves</description>
      <pubDate>Fri, 15 Mar 2013 08:28:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-due-to-older-Groovy-version/m-p/2314056#M84858</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-15T08:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error due to older Groovy version</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-due-to-older-Groovy-version/m-p/2314057#M84859</link>
      <description>Hi, 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;however other problems arose (in the generated java code for the tGroovy component, the GroovyShell.evaluate() method which accepts an InputStream was first deprecated and has subsequently been removed; hence the code won't compile).&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Thanks for your feedback, I will make a research on this problem, hope there will be a solution for it. In addition, I'm tracing this bug and give you a notification when it has been fixed. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Fri, 15 Mar 2013 08:41:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-due-to-older-Groovy-version/m-p/2314057#M84859</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-15T08:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error due to older Groovy version</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-due-to-older-Groovy-version/m-p/2314058#M84860</link>
      <description>Hi, 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Many thanks for your response. I had tried already your suggestion of taking a recent jar and renaming it, however other problems arose (in the generated java code for the tGroovy component, the GroovyShell.evaluate() method which accepts an InputStream was first deprecated and has subsequently been removed; hence the code won't compile).&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Maybe the jar is not refreshed, try to delete the component cache file and restart Talend Studio, to do: 
&lt;BR /&gt;1. Go to &amp;lt;Talend Studio installation path&amp;gt;/configuration/ the delete the file ComponentsCache.javacache. 
&lt;BR /&gt;2. Restart Talend Studio, the file ComponentsCache.javacache" file will be created again. 
&lt;BR /&gt;Let me know if it works? 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDsD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130865iE3973001F1B31001/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDsD.png" alt="0683p000009MDsD.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 15 Mar 2013 11:18:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-due-to-older-Groovy-version/m-p/2314058#M84860</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-15T11:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error due to older Groovy version</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-due-to-older-Groovy-version/m-p/2314059#M84861</link>
      <description>Hi Rebecca, 
&lt;BR /&gt;I did that, and - having Groovy-2.1.1.jar renamed to Groovy-1.0.jar - compilation now failed because the generated java code still has a dependency on a Groovy 1.0 method which is no longer in Groovy 2.1.1. Here is the excerpt: 
&lt;BR /&gt;String codetGroovy_1 = "my groovy script"; 
&lt;BR /&gt;java.io.ByteArrayInputStream istGroovy_1 = new java.io.ByteArrayInputStream(codetGroovy_1.getBytes()); 
&lt;BR /&gt;groovy.lang.Binding bindingtGroovy_1 = new groovy.lang.Binding(); 
&lt;BR /&gt;bindingtGroovy_1.setVariable("i2b2DataDir", context.i2b2DataDir); 
&lt;BR /&gt;groovy.lang.GroovyShell shelltGroovy_1 = new groovy.lang.GroovyShell(bindingtGroovy_1); 
&lt;BR /&gt;shelltGroovy_1.evaluate(istGroovy_1); // &amp;gt;&amp;gt;&amp;gt; compilation fails here &amp;lt;&amp;lt;&amp;lt; 
&lt;BR /&gt;The method GroovyShell.evaluate(InputStream) was deprecated in Groovy 1.8, and later removed from the API. One possible solution would be to use the method GroovyShell.evaluate(String) instead, and pass codetGroovy_1 to it. 
&lt;BR /&gt;Best regards, 
&lt;BR /&gt;Yves</description>
      <pubDate>Fri, 15 Mar 2013 13:06:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-due-to-older-Groovy-version/m-p/2314059#M84861</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-15T13:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error due to older Groovy version</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-due-to-older-Groovy-version/m-p/2314060#M84862</link>
      <description>Yes this is an issue which can only be solved by creating a new component as copy of the existing one. I suggest doing that and rename the new component tGroovy2.
&lt;BR /&gt;The component designer allows to copy an existing component and modify it. I already did that in for a missing feature in the LDAP components.</description>
      <pubDate>Sun, 17 Mar 2013 13:46:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-due-to-older-Groovy-version/m-p/2314060#M84862</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-17T13:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error due to older Groovy version</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-due-to-older-Groovy-version/m-p/2314061#M84863</link>
      <description>Hi, 
&lt;BR /&gt;There already been an issue about upgrading groovy jars for groovy components on our Jira, our developer is working on it, please monitor the issue. 
&lt;BR /&gt; 
&lt;A href="https://jira.talendforge.org/browse/TDI-24781" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TDI-24781&lt;/A&gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Mon, 18 Mar 2013 03:59:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-due-to-older-Groovy-version/m-p/2314061#M84863</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-18T03:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error due to older Groovy version</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-due-to-older-Groovy-version/m-p/2314062#M84864</link>
      <description>I've been using Groovy frequently in Talend, so let me share how to upgrade your tGroovy component to use Groovy 2.1.1: 
&lt;BR /&gt;1. first, download and copy the Groovy jars referenced in the 2nd step to this directory: 
&lt;BR /&gt;{workspace}\java\lib 
&lt;BR /&gt;2. then, edit tGroovy_java.xml in this directory: 
&lt;BR /&gt;{TALEND_INSTALL_DIR}\plugins\org.talend.designer.components.localprovider_5.6.2.20150508_1414\components\tGroovy 
&lt;BR /&gt;Change the references hereafter to whatever Groovy version you adapt to: 
&lt;BR /&gt;&amp;lt;CODEGENERATION&amp;gt; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;IMPORTS&amp;gt; 
&lt;BR /&gt;&amp;lt;IMPORT NAME="Groovy_Module" MODULE="antlr-2.7.6.jar" UrlPath="platform:/plugin/org.talend.libraries.apache.axis2/lib/antlr-2.7.6.jar" REQUIRED="true" /&amp;gt; 
&lt;BR /&gt;&amp;lt;IMPORT NAME="Groovy_Module" MODULE="groovy-2.1.1.jar" UrlPath="platform:/plugin/org.talend.libraries.groovy/lib/groovy-2.1.1.jar" REQUIRED="true" /&amp;gt; 
&lt;BR /&gt;&amp;lt;IMPORT NAME="Groovy_Module" MODULE="groovy-starter.jar" UrlPath="platform:/plugin/org.talend.libraries.groovy/lib/groovy-starter.jar" REQUIRED="true" /&amp;gt; 
&lt;BR /&gt;&amp;lt;IMPORT NAME="Groovy_Module" MODULE="groovy-xmlrpc-0.3.jar" UrlPath="platform:/plugin/org.talend.libraries.groovy/lib/groovy-xmlrpc-0.3.jar" REQUIRED="true" /&amp;gt; 
&lt;BR /&gt;&amp;lt;IMPORT NAME="Groovy_Module" MODULE="groovy-xml-2.1.1.jar" UrlPath="platform:/plugin/org.talend.libraries.groovy/lib/groovy-xml-2.1.1.jar" REQUIRED="true" /&amp;gt; 
&lt;BR /&gt;&amp;lt;IMPORT NAME="Groovy_Module" MODULE="groovy-sql-2.1.1.jar" UrlPath="platform:/plugin/org.talend.libraries.groovy/lib/groovy-sql-2.1.1.jar" REQUIRED="true" /&amp;gt; 
&lt;BR /&gt;&amp;lt;IMPORT NAME="Groovy_Module" MODULE="asm-4.0.jar" UrlPath="platform:/plugin/org.talend.libraries.groovy/lib/asm-4.0.jar" REQUIRED="true" /&amp;gt; 
&lt;BR /&gt;&amp;lt;IMPORT NAME="Groovy_Module" MODULE="asm-analysis-4.0.jar" UrlPath="platform:/plugin/org.talend.libraries.groovy/lib/asm-analysis-4.0.jar" REQUIRED="true" /&amp;gt; 
&lt;BR /&gt;&amp;lt;IMPORT NAME="Groovy_Module" MODULE="asm-commons-4.0.jar" UrlPath="platform:/plugin/org.talend.libraries.groovy/lib/asm-commons-4.0.jar" REQUIRED="true" /&amp;gt; 
&lt;BR /&gt;&amp;lt;IMPORT NAME="Groovy_Module" MODULE="asm-tree-4.0.jar" UrlPath="platform:/plugin/org.talend.libraries.groovy/lib/asm-tree-4.0.jar" REQUIRED="true" /&amp;gt; 
&lt;BR /&gt;&amp;lt;IMPORT NAME="Groovy_Module" MODULE="asm-util-4.0.jar" UrlPath="platform:/plugin/org.talend.libraries.groovy/lib/asm-util-4.0.jar" REQUIRED="true" /&amp;gt; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/IMPORTS&amp;gt; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/CODEGENERATION&amp;gt; 
&lt;BR /&gt;3. This part required a few code changes so it was a bit trickier, but you'll be just fine if you copy the content beneath verbatim in tGroovy_begin.javajet: 
&lt;BR /&gt;&amp;lt;%@ jet&amp;nbsp; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; imports=" 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org.talend.core.model.process.INode&amp;nbsp; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org.talend.core.model.process.ElementParameterParser 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org.talend.designer.codegen.config.CodeGeneratorArgument 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; java.util.Map 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; java.util.List 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; " 
&lt;BR /&gt;%&amp;gt; 
&lt;BR /&gt;&amp;lt;% 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; CodeGeneratorArgument codeGenArgument = (CodeGeneratorArgument) argument; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; INode node = (INode)codeGenArgument.getArgument(); 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; String cid = node.getUniqueName(); 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; String codeStringArray{} = ElementParameterParser.getValue(node, "__CODE__").split("\n"); 
&lt;BR /&gt;%&amp;gt; 
&lt;BR /&gt;String code&amp;lt;%=cid%&amp;gt; = ""&amp;nbsp; 
&lt;BR /&gt;&amp;lt;%for(int i =0 ;i&amp;lt;codeStringArray.length;i++){ 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; codeStringArray{i} = codeStringArray{i}.replace("\\","\\\\"); 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; codeStringArray{i} = codeStringArray{i}.replace("\"","\\\""); &amp;nbsp; &amp;nbsp; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; %&amp;gt; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; + "&amp;lt;%=codeStringArray{i}%&amp;gt;" + "\n" 
&lt;BR /&gt;&amp;lt;%}%&amp;gt;;&amp;nbsp; 
&lt;BR /&gt;java.io.ByteArrayInputStream is&amp;lt;%=cid%&amp;gt; = new java.io.ByteArrayInputStream(code&amp;lt;%=cid%&amp;gt;.getBytes()); 
&lt;BR /&gt;groovy.lang.Binding binding&amp;lt;%=cid%&amp;gt; = new groovy.lang.Binding(); 
&lt;BR /&gt;&amp;lt;% 
&lt;BR /&gt;List&amp;lt;Map&amp;lt;String, String&amp;gt;&amp;gt; tableValues = 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; (List&amp;lt;Map&amp;lt;String,String&amp;gt;&amp;gt;)ElementParameterParser.getObjectValue( 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; node, 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "__VARIABLES__" 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ); 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; for(Map&amp;lt;String, String&amp;gt; tableValue : tableValues) { 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;%&amp;gt; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; binding&amp;lt;%=cid%&amp;gt;.setVariable(&amp;lt;%=tableValue.get("NAME")%&amp;gt;, &amp;lt;%=tableValue.get("VALUE")%&amp;gt;); 
&lt;BR /&gt;&amp;lt;% 
&lt;BR /&gt;} 
&lt;BR /&gt;%&amp;gt; 
&lt;BR /&gt;groovy.lang.GroovyShell shell&amp;lt;%=cid%&amp;gt; = new groovy.lang.GroovyShell(binding&amp;lt;%=cid%&amp;gt;); 
&lt;BR /&gt;shell&amp;lt;%=cid%&amp;gt;.evaluate(code&amp;lt;%=cid%&amp;gt;); 
&lt;BR /&gt;4. Restart Talend 
&lt;BR /&gt;That's it!&amp;nbsp;</description>
      <pubDate>Mon, 08 Jun 2015 08:17:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-due-to-older-Groovy-version/m-p/2314062#M84864</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-08T08:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error due to older Groovy version</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-due-to-older-Groovy-version/m-p/2314063#M84865</link>
      <description>This topic lives on at 
&lt;A href="https://jira.talendforge.org/browse/TDI-33821" target="_blank" rel="nofollow noopener noreferrer"&gt;TDI-33821&lt;/A&gt; 
&lt;BR /&gt;Now, there are incompatibilities between the Ancient Groovy 1.0 (Used on TOS DI 6.1.x) and Java 1.8. 
&lt;BR /&gt;If interested, please see the JIRA which has my attached changes to tGroovy to be compatible with Java 1.8 and upgrade Groovy itself. 
&lt;BR /&gt;I believe the right approach to use this is as follows: 
&lt;BR /&gt;* make a custom component out of the modified tGroovy 
&lt;BR /&gt;* Switch jobs to use the revised version 
&lt;BR /&gt;* Talend to integrate the fix and Groovy version upgrade 
&lt;BR /&gt;* Upon that fix being included in the talend release, switch Jobs back over to using the official talend component</description>
      <pubDate>Thu, 04 Feb 2016 21:51:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-due-to-older-Groovy-version/m-p/2314063#M84865</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-04T21:51:23Z</dc:date>
    </item>
  </channel>
</rss>

