O'Reilly logo

Talend Open Studio Cookbook by Rick Barton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using a different context

If you have decided to use multiple contexts as a means of defining your runtime properties, then they can be selected at runtime using the following method.

Getting ready

Export the job jo_cook_ch11_0020_differentContext, as shown in the previous recipe.

How to do it…

  1. Open a command window, navigate to the job directory, and execute the shell launcher for your environment (see previous exercise).
  2. You will see that the output contains the text Value = ABC.
  3. Open the shell launcher, and scroll to the very end of the command line.
  4. Change the context from --context=development to –context=test as shown in the next screenshot:
    How to do it…
  5. Save ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required