Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
erwan2
Contributor
Contributor

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
Labels (3)
4 Replies
Anonymous
Not applicable

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
erwan2
Contributor
Contributor
Author

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
Anonymous
Not applicable

Hello,
You can also monitor 2812
Regards,
_AnonymousUser
Specialist III
Specialist III

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