<?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: Custom Routines in multiple Projects in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Custom-Routines-in-multiple-Projects/m-p/2325789#M95353</link>
    <description>&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Wow.. that's a good tip.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Thanks Richard, I'll give it a try.&lt;/FONT&gt;&lt;/FONT&gt;</description>
    <pubDate>Tue, 14 Feb 2017 12:45:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-02-14T12:45:36Z</dc:date>
    <item>
      <title>Custom Routines in multiple Projects</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-Routines-in-multiple-Projects/m-p/2325781#M95345</link>
      <description>&lt;P&gt;Hello community!&lt;BR /&gt;We've been using Talend for a while, creating Jobs in one project. We also have a set of routines that we use in all our jobs.&lt;BR /&gt;&lt;BR /&gt;Now we are creating new jobs in a different project, because the scope is different but we need the same routines. So we import the routines into the new project.&lt;BR /&gt;&lt;BR /&gt;I think this is not a good solution, since we have now duplicated the code, and maintenance can be hard and risky.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So, is there a way to use the same routines in all our projects without importing (and duplicate code) ???&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2017 12:17:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-Routines-in-multiple-Projects/m-p/2325781#M95345</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-02T12:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Routines in multiple Projects</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-Routines-in-multiple-Projects/m-p/2325782#M95346</link>
      <description>Hi,
&lt;BR /&gt;You could create a reference project with all your routines (If you have enterprise version).
&lt;BR /&gt;Eric&amp;nbsp;</description>
      <pubDate>Thu, 02 Feb 2017 12:44:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-Routines-in-multiple-Projects/m-p/2325782#M95346</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-02T12:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Routines in multiple Projects</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-Routines-in-multiple-Projects/m-p/2325783#M95347</link>
      <description>Hi Eric, thank for reply. 
&lt;BR /&gt; 
&lt;BR /&gt;We're using TOS 6.3 &amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133049iD780B7DE0116E4D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACJ.png" alt="0683p000009MACJ.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 02 Feb 2017 12:55:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-Routines-in-multiple-Projects/m-p/2325783#M95347</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-02T12:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Routines in multiple Projects</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-Routines-in-multiple-Projects/m-p/2325784#M95348</link>
      <description>This is easy to resolve. Move your routine code to Eclipse (or similar), compile them into a Jar and import the Jar into Talend. This way you can have strict control over the source code and ensure that people aren't subtley changing them in different projects. I have used this method when working with Talend Enterprise and Talend Open Source.</description>
      <pubDate>Thu, 02 Feb 2017 14:27:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-Routines-in-multiple-Projects/m-p/2325784#M95348</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-02T14:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Routines in multiple Projects</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-Routines-in-multiple-Projects/m-p/2325785#M95349</link>
      <description>Thank you Richard,&amp;nbsp;&lt;BR /&gt;Sounds like the final solution for us.&lt;BR /&gt;&lt;BR /&gt;Can you tell me how can I import the Jar into Talend? I have to do that in every Project?&lt;BR /&gt;And how can I use my routines in my Jobs?</description>
      <pubDate>Thu, 02 Feb 2017 15:17:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-Routines-in-multiple-Projects/m-p/2325785#M95349</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-02T15:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Routines in multiple Projects</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-Routines-in-multiple-Projects/m-p/2325786#M95350</link>
      <description>The easiest way is to use the tLibraryLoad</description>
      <pubDate>Fri, 03 Feb 2017 01:23:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-Routines-in-multiple-Projects/m-p/2325786#M95350</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-03T01:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Routines in multiple Projects</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-Routines-in-multiple-Projects/m-p/2325787#M95351</link>
      <description>Ok, Thanks Richard, 
&lt;BR /&gt; 
&lt;BR /&gt;But I wouldn't like to add a tLibraryLoad component in every Job.. It's not so neat 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9p6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134116iFBD5D7F21624A744/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9p6.png" alt="0683p000009M9p6.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 06 Feb 2017 20:58:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-Routines-in-multiple-Projects/m-p/2325787#M95351</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-06T20:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Routines in multiple Projects</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-Routines-in-multiple-Projects/m-p/2325788#M95352</link>
      <description>Sorry for the late reply, I've been away.&amp;nbsp;&lt;BR /&gt;You can also go to Window --&amp;gt; Preferences --&amp;gt; Java --&amp;gt; Build Path --&amp;gt; User Libraries ....and add the library there.&lt;BR /&gt;You can also add the library to a routine "wrapper" and use the wrapper to make using it a bit easier for developers.</description>
      <pubDate>Tue, 14 Feb 2017 01:00:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-Routines-in-multiple-Projects/m-p/2325788#M95352</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-14T01:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Routines in multiple Projects</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-Routines-in-multiple-Projects/m-p/2325789#M95353</link>
      <description>&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Wow.. that's a good tip.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Thanks Richard, I'll give it a try.&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Tue, 14 Feb 2017 12:45:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-Routines-in-multiple-Projects/m-p/2325789#M95353</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-14T12:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Routines in multiple Projects</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-Routines-in-multiple-Projects/m-p/2325790#M95354</link>
      <description>Hi Richard, 
&lt;BR /&gt;I was trying to make that world without good news. 
&lt;BR /&gt; 
&lt;BR /&gt;This is what I do: 
&lt;BR /&gt;1) I made a simple code on Eclipse. 
&lt;BR /&gt;2) Export the code as a .Jar file. 
&lt;BR /&gt;3) Configure user libraries as you say. 
&lt;BR /&gt;4) Create a dummy Job for test. 
&lt;BR /&gt;5) Get this error: 
&lt;BR /&gt; 
&lt;PRE&gt;Execution failed : Job compile errors &lt;BR /&gt;At least job "Test_Procesos_JAR" has a compile errors, please fix and export again.&lt;BR /&gt;Error Line: 306&lt;BR /&gt;Detail Message: TestClass cannot be resolved to a type&lt;BR /&gt;There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio.&lt;/PRE&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MGFD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137675i1842378AAE674BCB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MGFD.png" alt="0683p000009MGFD.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MG9G.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141397i9DC861C5824C0042/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MG9G.png" alt="0683p000009MG9G.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MG6r.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128958iC28BA5614A58750B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MG6r.png" alt="0683p000009MG6r.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MGFI.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147884iEBE5C3739D8E1D5A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MGFI.png" alt="0683p000009MGFI.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 24 Feb 2017 18:28:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-Routines-in-multiple-Projects/m-p/2325790#M95354</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-24T18:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Routines in multiple Projects</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-Routines-in-multiple-Projects/m-p/2325791#M95355</link>
      <description>Hi, 
&lt;BR /&gt;After hours of trying, now I can import the library in a tJava, instance an Object and see there attributes and methods, but I get this error when I try to run: 
&lt;BR /&gt; 
&lt;PRE&gt;[statistics] connecting to socket on port 3335&lt;BR /&gt;[statistics] connected&lt;BR /&gt;Exception in thread "main" java.lang.NoClassDefFoundError: integrationTest/TestClass&lt;BR /&gt;	at capa_adquisicion.test_procesos_jar_0_1.Test_Procesos_JAR.tJava_1Process(Test_Procesos_JAR.java:306)&lt;BR /&gt;	at capa_adquisicion.test_procesos_jar_0_1.Test_Procesos_JAR.runJobInTOS(Test_Procesos_JAR.java:558)&lt;BR /&gt;	at capa_adquisicion.test_procesos_jar_0_1.Test_Procesos_JAR.main(Test_Procesos_JAR.java:415)&lt;BR /&gt;Caused by: java.lang.ClassNotFoundException: integrationTest.TestClass&lt;BR /&gt;	at java.net.URLClassLoader.findClass(Unknown Source)&lt;BR /&gt;	at java.lang.ClassLoader.loadClass(Unknown Source)&lt;BR /&gt;	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)&lt;BR /&gt;	at java.lang.ClassLoader.loadClass(Unknown Source)&lt;BR /&gt;	... 3 more&lt;BR /&gt;[statistics] disconnected&lt;/PRE&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Can you please help me with this? 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFln.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130238i554C5E7C27802806/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFln.png" alt="0683p000009MFln.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 27 Feb 2017 19:26:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-Routines-in-multiple-Projects/m-p/2325791#M95355</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-27T19:26:16Z</dc:date>
    </item>
  </channel>
</rss>

