• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » How to enable code editing in Jasper ETL 2.3.2 or 2.2.4

#1 2008-04-04 12:13:36

sameerghag
New member
Registered: 2008-04-04
Posts: 1

How to enable code editing in Jasper ETL 2.3.2 or 2.2.4

I have created a job to transfger data from a MSSQL table a Oracle Table. But when I want to change the code, I am unable to. How do I change the code for that job?

Any inputs will be much appreciated

Regards,
Sameer

Offline

#2 2008-04-04 21:18:17

Volker Brehm
Member
Registered: 2007-04-03
Posts: 1139
Website

Re: How to enable code editing in Jasper ETL 2.3.2 or 2.2.4

Hi,

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).

Bye
Volker

Offline

#3 2008-04-07 14:00:40

Sameer
Guest

Re: How to enable code editing in Jasper ETL 2.3.2 or 2.2.4

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.

#4 2008-04-07 22:46:35

mhirt
Talend team
Registered: 2006-09-19
Posts: 1658

Re: How to enable code editing in Jasper ETL 2.3.2 or 2.2.4

Hello,

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 ?

Offline

#5 2010-04-07 16:05:19

dileep
New member
Registered: 2010-04-06
Posts: 2

Re: How to enable code editing in Jasper ETL 2.3.2 or 2.2.4

i need to hoe to read header information from file

Offline

#6 2012-06-27 12:17:28

Saumik Chaurasia
Guest

Re: How to enable code editing in Jasper ETL 2.3.2 or 2.2.4

I am also having same issue i need to find and replace about 500 lines of code and then save it how to i get it done in talend

thanks in advance

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » How to enable code editing in Jasper ETL 2.3.2 or 2.2.4

Board footer

Powered by FluxBB