Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to import external .jar libs into Talend custom component

 
Labels (3)
12 Replies
Anonymous
Not applicable
Author

Hello,
I already know how to import external library at the time of starting the new component. But I already started too design a component. And now I need the external library in between.And now I am unable  to import. Will u plz tell me how to import it for already started component.
Anonymous
Not applicable
Author

Look at the {ComponentName}_java.xml file and find the "CODEGENERATION" element at the bottom. The import needs to go here. I have included the CODEGENERATION section of one I am currently working on below....
<CODEGENERATION>
<IMPORTS>
<IMPORT REQUIRED="true" NAME="DataSetUtilities" MODULE="DataSetUtilities.jar"/>
<IMPORT REQUIRED="true" NAME="guava" MODULE="guava-18.0.jar"/>
</IMPORTS>
</CODEGENERATION> 
You then need to make sure that your Jars are included inside the same folder as this file. Ensure that classpaths and Jar dependencies are OK as well.
Anonymous
Not applicable
Author

Thnx