Unable to run job in different context by changing the .bat file
Hi
I've set up a simple Talend job to run in different contexts (say, context1 and context2).
When the job is run in TOS with context1, it runs correctly with the varibales defined in context1. Similarly, when I change the context from the drop-down to context2, it runs with the variables defined in context2.
However, when I export the job with a default context (say, context1), and tries to run it from the command-line, it always runs with the same context (context1) everytime
I've been trying to run the job in a different context by changing the context value in the ".bat" file but I'm unable to do so.
Even after I change context in the .bat file from "--context=context1" to "--context=context2", the job runs with the variables defined in context1.
Can you please suggest if I'm doing anything wrong?
I have followed the exact same steps as mentioned in the tutorial:
http://www.talendforge.org/tutorials/tutorial.php?language=english&idTuto=35 Thanks
Kshitij
I double checked with 4.1.1 and can confirm that it exists. Sorry for any confusion, My previous post saying it worked was in error.
this will be a blocking issue for my teams
Thanks for pinpointing it Kzone!