Six Stars

Importing a job with a higher version number

Hey Guys,

I have a Problem with Importing Jobs. I thought it would be something I could solve easily with google, but i wasnt able to find an answer. So I have to PCs with Talend Open Studio DI, Both with version 6.3.1. Both have the Job "Jobx 0.1". Now I have made some changes on one and upgraded the to "Jobx 0.2". How can I Import the new Version on the Second System? i just get the error that the job is already existing.

1 ACCEPTED SOLUTION

Accepted Solutions
Twelve Stars

Re: Importing a job with a higher version number

simplest solution - click on overwrite existing items checkbox

 

but in this case You are lost version 0.1 - Talend export only most resent version

 

if You need have both, You can go by ugly way:

- rename job 0.1

- import new 0.2

- create new version of 0.1 - 0.2

- delete all components (Ctrl-A -> Delete) 

- copy All component from new 0.2

- delete and rename back

 

Or You can copy whole workspace between machines, in this case You lost changes made on target machines

-----------
6 REPLIES
Twelve Stars

Re: Importing a job with a higher version number

simplest solution - click on overwrite existing items checkbox

 

but in this case You are lost version 0.1 - Talend export only most resent version

 

if You need have both, You can go by ugly way:

- rename job 0.1

- import new 0.2

- create new version of 0.1 - 0.2

- delete all components (Ctrl-A -> Delete) 

- copy All component from new 0.2

- delete and rename back

 

Or You can copy whole workspace between machines, in this case You lost changes made on target machines

-----------
Six Stars

Re: Importing a job with a higher version number

Hey,

Thanks for your help. I needed to act quick so I already went the "ugly way" Smiley Wink

I just wanted do know if there is a better way to really import the new Version.

Twelve Stars

Re: Importing a job with a higher version number

Open Source version not integrated with SVN, and attempts todo this not always work as expected

 

 

I meet many solutions:

- shared workspace, when only 1 studio could work at one time

- export each job by versions - like private repository with old versions of jobs

- connect workspace to SVN (You can search articles about this in internet) 

-----------
Seventeen Stars

Re: Importing a job with a higher version number

There is a by far more easy solution. Talend actually does not change the internal xml structure.

Get the talend.project file from the older Talend release project (assuming it has the same name).

Take from here the attribute (this is an example!)

productVersion="Talend Open Studio for ESB-6.3.1.20161216_1026"

and set this in your talend.project file from the newer released project.

This should allow you to import the jobs per item import.

Six Stars

Re: Importing a job with a higher version number

Thanks, thats an interesting idea. I willl try it by time!
Seven Stars

Re: Importing a job with a higher version number

we can open the job 0.1 as a higher/different version by right clicking the job(see the snip). And you can follow the copy paste steps suggested by @vapukov. this way you don't have to rename the stuff