Available in...Open Studio for Big Data
Open Studio for Data Integration
Open Studio for ESB
Talend Studio allows you to create custom routine
jars and set up custom routine jar dependencies on Jobs and Joblets if you have
installed the R2021-03 Studio monthly update or a later one provided by Talend.
The custom routine jar allows you to package multiple user routines with their
dependencies into a single archive. By setting up custom routine jar dependencies on
Jobs and Joblets, the code dependencies for Jobs and Joblets become more explicit and
this can help reduce dependency conflicts.
About this task
To create a custom routine jar:
Procedure
-
In the Repository tree view, right-click and select Create Routine Jar from the
contextual menu.
The New Routine Jar dialog box is displayed.
-
Fill in the generic properties such as Name,
Purpose (optional), and
Description (optional).
The information you fill in the Description field will appear as a tooltip when your mouse
pointer is moved over the custom routine jar in the
Repository tree view.
-
Click Finish to save the new custom routine jar.
The newly added custom routine jar is displayed under the
Custom Routine Jars node.
Now
you can create inner routines and add them into the new custom routine jar
by right-clicking it and selecting Create
routine from the contextual menu. For more information, see
Creating user routines.
If you have installed the R2021-03 Studio monthly update, you can add any
existing global user routine into a custom routine jar by right-clicking the
global user routine and selecting Assign Routine
to... from the contextual menu.
Warning: A global user routine will become an inner routine after it
is assigned to a custom routine jar, and an inner routine cannot be changed
back to a global user routine.
If you have
installed the R2021-04 Studio monthly update or a later one provided by
Talend, you can add
any existing global user routine into a custom routine jar by right-clicking
the global user routine and selecting Copy
Routine to... from the contextual menu.
Note: A global
user routine will be kept as a global one after being copied into a custom
routine jar.