Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am quite new to Talend Open Studio and need your help please.
A few weeks ago I created a simple job using TOS V7.x. I was able to create a single executable jar out of it, but unfortunately I do not know anymore how I could get there.
Now I have installed TOS 8.x and wanted to figure out how to create a single executable jar, but I did not succeed.
Did this procedure change from TOS 7.x to TOS 8.x?
What I did:
I created a simple 'HelloWorld' job with just one tMsgBox inside. Then I right clicked the job inside the 'Job designs' section and choose 'Build job'.
But for some reason I can only select a *.zip format - but I want to create a single jar where all dependent jar's are packed into one single jar as I did (somehow) in the past (using TOS 7.x).
What I am missing? Or has it changed from TOS 7.x to TOS 8.x and I cannot do it anymore?
Thanks for any help...
Hello,
Please have a look at below two articles, which will give you full details about both approaches.
https://help.talend.com/r/en-US/8.0/studio-user-guide-open-studio-for-data-integration/building-jobs
Best regards
Sabrina
@Xiaodi Shi , thanks but that does not really answer my question.
The 1st link you provided shows the way to create a *.zip file - what I don't want.
The 2nd link does not provide a way to create a single *.jar - it just says 'Export the job' - nothing more.
I know using TOS 7.x it was a few clicks to create a standalone jar with all depentent jars packed inside.
Then I could run this jar like this:
java -jar myjob.jar
Hello,
So far, the build types are Standalone Job(.zip file) and OSGI Bundle For ESB(.jar file) without exporting job as a runnable jar file option.
Building a Job as a standalone Job will help you to export the .bat and/or .sh files necessary to launch the built Job and then you are able to execute it(. bat file for window and .sh file for Linux) in cmd.
Best regards
Sabrina