Edit and modify a job's source code

One Star

Edit and modify a job's source code

Hello,
I'm trying to modify my job's source code to add "import java.util.regex.*;".
Does anyone know a way to proceed because when I'm in the "code view" of my job and I do right-Click->source->add import... nothing happens.
Regards.
--
R
One Star

Re: Edit and modify a job's source code

Hello erwan,
TOS is a code generator. Because of this you have the following ways:
a) export your script and modify it. In this case you loose the connection to your job in TOS.
b) Use the special components tJava* and tLibraryLoad
Bye
Volker
One Star

Re: Edit and modify a job's source code

Hello,
finally, I use the full path in my code like "java.util.regex.Pattern varPattern;".
I keep in mind your solution.
Tank you.
--
R
Employee

Re: Edit and modify a job's source code

Hello,
You can also monitor 2812
Regards,
One Star

Re: Edit and modify a job's source code

Hi,
I am trying to modify the code source of Talend (in general). So, it is not difficult to modify the code source of Java files in the Talend Folder.
But my problem is that I can not use the variables and instances of the java class generated by the job.
Someone can help me, please ?
Thanks,
Marouane - France

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch

Downloads and Trials

Test drive Talend's enterprise products.

Downloads