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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Safus
Creator
Creator

Code in .java file

Hello all,

I was working on a simple test job which contains a single tjava component to print some text.

I noticed that modifying and saving the job does not mean refreshing the code of the .java file in src/main folder in my workspace.

Two actions force the code to be updated : Running the job or opening the Code tab next to the designer tab.

My first question : why this behavior ?

Second question : is there a way to force java code update only by saving the job without running it ?

PS : Using Talend Open Studio 7.3.1.

Thank you

Labels (2)
2 Replies
Anonymous
Not applicable

Maybe I am missing something here, but I have just tried to create a job, add a tJava, modify the Java used and simply saved it and closed it. I then check the job's .item file and the code is there. The only files you need to worry about are the .item and and .properties files. The Java is computed at compilation of the job, but that is based on the contents of the .item and .properties files.

Safus
Creator
Creator
Author

Yes I know about the .item and .properties files but here we are doing some CI/CD and using maven to build jobs.

So opening the Code tab, compiles the job ? we are looking for a way to compile job without running it.