You are not logged in.
what do you mean with "change the code"? TOS is a code generater, so you cant edit it directly. Depending on your needs you have two options:
1. Export the Job and change the exported class.
2. Add tJavaX-components and add custom code.
The second one is more restrictive but you are able to use TOS in the future (if you export your scripted and change it, you have to do your changes with every export again).
We can edit it as you have mentioned.But when I execute "Run", the changes disappear.
After I have created a "Job", I can see two options on main screen "Designer" and "Code"
tabs. The "Code" tab opens the "non-editable" code. To get the editable code, On Left panel
I selected the "Navigator" and selected the .java version on the screen which is editable..I
edited the code and "Save All" it. Now when I "run" the Job, the changes disappear .
We also tried by "Exporting the script". It gives the zipped version of the code. I unzipped
the code, edited it and zipped the changed code. Now I "imported" the changed code at the
same location from where I had exported it. But when I tried to View the job script, the
changed code is Not reflected. I also tried by saving the .java file in the actual src
folder created in Jasper. But it did not work. When I "run" the Job, the changes disappear .
Your inputs will be appreciated.
Talend Open Studio will always regenerate the code. It's his job.
Modifying the code is you choice but it won't be connected to your job anymore.
The real question is do you really need to modify the code ?