<?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: [solved] import talend Routines in jet part to use own Utils in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/solved-import-talend-Routines-in-jet-part-to-use-own-Utils/m-p/2326096#M95622</link>
    <description>You will need to remove the semi colon after "routines.DB" and ensure that you have compiled your routines into a Jar and that the Jar is in the classpath of the component.&amp;nbsp;</description>
    <pubDate>Fri, 08 Apr 2016 00:21:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-04-08T00:21:31Z</dc:date>
    <item>
      <title>[solved] import talend Routines in jet part to use own Utils</title>
      <link>https://community.qlik.com/t5/Talend-Studio/solved-import-talend-Routines-in-jet-part-to-use-own-Utils/m-p/2326095#M95621</link>
      <description>Hello 
&lt;BR /&gt;i am trying the following: 
&lt;BR /&gt;i want to use the package routines to read metadata for GENERATING, not at runtime of the component 
&lt;BR /&gt; 
&lt;FONT face="Courier New"&gt;&amp;lt;%@ jet&lt;BR /&gt;imports="&lt;BR /&gt; org.talend.core.model.process.INode &lt;BR /&gt; org.talend.core.model.process.ElementParameterParser &lt;BR /&gt; org.talend.core.model.metadata.IMetadataTable &lt;BR /&gt; org.talend.core.model.metadata.IMetadataColumn &lt;BR /&gt; org.talend.core.model.process.IConnection&lt;BR /&gt; org.talend.core.model.process.IConnectionCategory&lt;BR /&gt; org.talend.core.model.process.EConnectionType&lt;BR /&gt; org.talend.designer.codegen.config.CodeGeneratorArgument&lt;BR /&gt;&amp;nbsp;org.talend.core.model.metadata.types.JavaTypesManager&lt;BR /&gt; org.talend.core.model.metadata.types.JavaType&lt;BR /&gt; java.util.List&lt;BR /&gt; java.util.Map&lt;BR /&gt; java.util.HashMap&lt;BR /&gt; java.util.Set&lt;BR /&gt; java.math.BigInteger&lt;BR /&gt; routines.DB&lt;BR /&gt; "&lt;BR /&gt;%&amp;gt;&lt;BR /&gt;And the result is:&lt;BR /&gt;Execution failed : Failed to generate code.&lt;BR /&gt;&lt;BR /&gt;[----------&lt;BR /&gt;&lt;BR /&gt;1. ERROR in E:\x163842\Workspace\.JETEmitters\src\org\talend\designer\codegen\translators\dataquality\TFileAidIMSQABeginJava.java (at line 18)&lt;BR /&gt;&lt;BR /&gt; import routines.DB;&lt;BR /&gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ^^^^^^^^&lt;BR /&gt;&lt;BR /&gt;The import routines cannot be resolved&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT face="Courier New"&gt;&lt;B&gt;How can i qualify the &lt;BR /&gt;package routines &lt;BR /&gt;that it will be found by the jetengine ????&lt;/B&gt;&lt;BR /&gt;&lt;B&gt;Thanks for your help &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/B&gt;&lt;/FONT&gt;</description>
      <pubDate>Sat, 16 Nov 2024 10:42:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/solved-import-talend-Routines-in-jet-part-to-use-own-Utils/m-p/2326095#M95621</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: [solved] import talend Routines in jet part to use own Utils</title>
      <link>https://community.qlik.com/t5/Talend-Studio/solved-import-talend-Routines-in-jet-part-to-use-own-Utils/m-p/2326096#M95622</link>
      <description>You will need to remove the semi colon after "routines.DB" and ensure that you have compiled your routines into a Jar and that the Jar is in the classpath of the component.&amp;nbsp;</description>
      <pubDate>Fri, 08 Apr 2016 00:21:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/solved-import-talend-Routines-in-jet-part-to-use-own-Utils/m-p/2326096#M95622</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-08T00:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: [solved] import talend Routines in jet part to use own Utils</title>
      <link>https://community.qlik.com/t5/Talend-Studio/solved-import-talend-Routines-in-jet-part-to-use-own-Utils/m-p/2326097#M95623</link>
      <description>thank you for the responds, i removed the ; already.
&lt;BR /&gt;I think the jar in the componentfolder will help only in the case that i want to use it inside the component or not ?
&lt;BR /&gt;regards
&lt;BR /&gt;dj</description>
      <pubDate>Fri, 08 Apr 2016 08:24:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/solved-import-talend-Routines-in-jet-part-to-use-own-Utils/m-p/2326097#M95623</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-08T08:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: [solved] import talend Routines in jet part to use own Utils</title>
      <link>https://community.qlik.com/t5/Talend-Studio/solved-import-talend-Routines-in-jet-part-to-use-own-Utils/m-p/2326098#M95624</link>
      <description>&lt;B&gt;i solved it by placing the routines Folder with the compiled classfiles into&lt;/B&gt;
&lt;BR /&gt;
&lt;I&gt;C:\Program Files (x86)\Talend-Studio-V5.4.1\plugins\org.talend.designer.codegen_5.4.1.r111943\&lt;/I&gt;</description>
      <pubDate>Fri, 08 Apr 2016 08:46:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/solved-import-talend-Routines-in-jet-part-to-use-own-Utils/m-p/2326098#M95624</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-08T08:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: [solved] import talend Routines in jet part to use own Utils</title>
      <link>https://community.qlik.com/t5/Talend-Studio/solved-import-talend-Routines-in-jet-part-to-use-own-Utils/m-p/2326099#M95625</link>
      <description>That is pretty much what I was suggesting, however you will now have two routines folders/files to update. You will have the one which is available to your Studio for development and the one that is in your components classpath. It would be more logical to create the code that you want for your component, compile as a Jar and then package it with the component.&amp;nbsp;</description>
      <pubDate>Fri, 08 Apr 2016 09:30:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/solved-import-talend-Routines-in-jet-part-to-use-own-Utils/m-p/2326099#M95625</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-08T09:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: [solved] import talend Routines in jet part to use own Utils</title>
      <link>https://community.qlik.com/t5/Talend-Studio/solved-import-talend-Routines-in-jet-part-to-use-own-Utils/m-p/2326100#M95626</link>
      <description>I will try that, thank you 
&lt;BR /&gt;actually i am fighting with an 
&lt;BR /&gt;JETException: InvocationTargetException 
&lt;BR /&gt;running the code, which runs perfectly in my unittest. Might be still some config Problem 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 08 Apr 2016 12:50:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/solved-import-talend-Routines-in-jet-part-to-use-own-Utils/m-p/2326100#M95626</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-08T12:50:46Z</dc:date>
    </item>
  </channel>
</rss>

