Skip to main content Skip to complementary content
Close announcements banner

Creating custom routine jars

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

  1. In the Repository tree view, right-click Code > Custom Routine Jars and select Create Routine Jar from the contextual menu.
    The New Routine Jar dialog box is displayed.
  2. 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.
  3. 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.

    Information noteWarning: 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.

    Information noteNote: A global user routine will be kept as a global one after being copied into a custom routine jar.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!