Hi,
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.
Any advice?
Kind regards,
Yves
Hi,
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.
https://jira.talendforge.org/browse/TDI-24781 Best regards
Sabrina
This topic lives on at
TDI-33821 Now, there are incompatibilities between the Ancient Groovy 1.0 (Used on TOS DI 6.1.x) and Java 1.8.
If interested, please see the JIRA which has my attached changes to tGroovy to be compatible with Java 1.8 and upgrade Groovy itself.
I believe the right approach to use this is as follows:
* make a custom component out of the modified tGroovy
* Switch jobs to use the revised version
* Talend to integrate the fix and Groovy version upgrade
* Upon that fix being included in the talend release, switch Jobs back over to using the official talend component