You can edit the library of any of the user routines by importing external .jar files for the selected routine. These external library files will be listed, like modules, in the Modules view in your current Studio. For more information on the Modules view, see the Talend Installation Guide.
The .jar file of the imported library will be also listed in the library file of your current Studio.
To edit a user routine library, complete the following:
If the library to be imported isn't available on your machine, either download and install it using the Modules view or download and store it in a local directory.
In the Repository tree view, expand Code > Routines.
Right-click the user routine you want to edit its library and then select Edit Routine Library.
The [Import External Library] dialog box displays.
Click New to open the [New Module] dialog box where you can import the external library.
You can delete any of the already imported routine files if you select the file in the Library File list and click the Remove button.
Specify the library file to be imported:
If you have installed the library using the Modules view, enter the full name of the library file in the Input a library's name field.
If you have stored the library file in a local directory, select the Browse a library file option and click browse to set the file path in the corresponding field.
If required, enter a description in the Description field.
Click OK to confirm your changes.
The imported library file is listed in the Library File list in the [Import External Library] dialog box.
Click Finish to close the dialog box.
The library file is imported into the library folder of your current Studio and also listed in the Module view of the same Studio. You may need to restart your Studio to bring the external library into effect.
For more information about the Modules view, see the Talend Installation Guide.