Creating compiled executables

This recipe shows how we create compiled code from the job we have created. First, we will export the code into a compiled executable, and then we will execute it via the command line.

How to do it...

  1. Open the folder chapter11 in the metadata repository.
  2. Right-click on the job jo_cook_ch10_0010_helloWorld, and select the option to Export Job.
    How to do it...
  3. Click on Browse to navigate to the folder compiledCode within the cookbook directory.
  4. Ensure the Export type is Autonomous Job, and tick Extract the zip file.
  5. In the options tick Shell launcher and Context Scripts, and tick Apply Context to children Jobs.
  6. Your dialog should look like ...

Get Talend Open Studio Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.