<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: cannot pass context param via command line on Linux in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/cannot-pass-context-param-via-command-line-on-Linux/m-p/2200895#M3217</link>
    <description>I read this on some other thread (
&lt;A href="http://www.talendforge.org/forum/viewtopic.php?pid=42813" rel="nofollow noopener noreferrer"&gt;http://www.talendforge.org/forum/viewtopic.php?pid=42813&lt;/A&gt;) and the solution to my problem was creating an environment variable and accessing it using 
&lt;BR /&gt;java.lang.System.getenv("talend_context_path")
&lt;BR /&gt;and this works on windows and linux
&lt;BR /&gt;thanks to nicolasdiogo !</description>
    <pubDate>Tue, 04 Jan 2011 23:30:35 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2011-01-04T23:30:35Z</dc:date>
    <item>
      <title>cannot pass context param via command line on Linux</title>
      <link>https://community.qlik.com/t5/Talend-Studio/cannot-pass-context-param-via-command-line-on-Linux/m-p/2200893#M3215</link>
      <description>Hello, 
&lt;BR /&gt;I am trying to pass context param to a Talend job (written in 4.0.3) via command-line on Linux and it is not working for me. 
&lt;BR /&gt;I am trying to pass a context.properties file as a context param, but it is picking up the Default.properties instead. 
&lt;BR /&gt;Here is how the shell script looks like: 
&lt;BR /&gt; 
&lt;BR /&gt; #!/bin/sh 
&lt;BR /&gt; cd `dirname $0` 
&lt;BR /&gt; ROOT_PATH=`pwd` 
&lt;BR /&gt; /bb/util/common/java64-1.6/bin/java -Xms256M -Xmx1024M -cp classpath.jar: temp.temp_0_1.temp --context=Default --context_param context_path=context.properties 
&lt;BR /&gt;I have tried a lot of things that people have suggested on this forum but nothing seems to have worked. 
&lt;BR /&gt;Any help would be greatly appreciated. 
&lt;BR /&gt;Thanks!</description>
      <pubDate>Sat, 16 Nov 2024 13:09:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/cannot-pass-context-param-via-command-line-on-Linux/m-p/2200893#M3215</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T13:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: cannot pass context param via command line on Linux</title>
      <link>https://community.qlik.com/t5/Talend-Studio/cannot-pass-context-param-via-command-line-on-Linux/m-p/2200894#M3216</link>
      <description>the paramater:
&lt;BR /&gt;--context=Default
&lt;BR /&gt;will select the .properties file with the name "Default.properties"
&lt;BR /&gt;if you want to select a .properties file with the name "AnythingAtAll.properties" you would change this paramater to:
&lt;BR /&gt;--context=AnythingAtAll
&lt;BR /&gt;the --context_param paramater is used to set paticular context varilbes from the command line. In your example, if you have a context varible in the "Default" context group named "context_path" in your job it will take the value "context.properties"</description>
      <pubDate>Mon, 03 Jan 2011 19:31:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/cannot-pass-context-param-via-command-line-on-Linux/m-p/2200894#M3216</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-01-03T19:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: cannot pass context param via command line on Linux</title>
      <link>https://community.qlik.com/t5/Talend-Studio/cannot-pass-context-param-via-command-line-on-Linux/m-p/2200895#M3217</link>
      <description>I read this on some other thread (
&lt;A href="http://www.talendforge.org/forum/viewtopic.php?pid=42813" rel="nofollow noopener noreferrer"&gt;http://www.talendforge.org/forum/viewtopic.php?pid=42813&lt;/A&gt;) and the solution to my problem was creating an environment variable and accessing it using 
&lt;BR /&gt;java.lang.System.getenv("talend_context_path")
&lt;BR /&gt;and this works on windows and linux
&lt;BR /&gt;thanks to nicolasdiogo !</description>
      <pubDate>Tue, 04 Jan 2011 23:30:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/cannot-pass-context-param-via-command-line-on-Linux/m-p/2200895#M3217</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2011-01-04T23:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: cannot pass context param via command line on Linux</title>
      <link>https://community.qlik.com/t5/Talend-Studio/cannot-pass-context-param-via-command-line-on-Linux/m-p/2200896#M3218</link>
      <description>hi,
&lt;BR /&gt; I created one talend job, wic have 4 context variable. now i exported the job. after exporting job i got shell script (.sh file). 
&lt;BR /&gt;i want to pass value of context variable as manually. i know how to pass value i.e. --context_param backup_path=/root/abc .
&lt;BR /&gt;now i still have context variable 'source,dest,failure'... how to assign value to these remain three???
&lt;BR /&gt;Regards,
&lt;BR /&gt;Akshath Hegde</description>
      <pubDate>Mon, 20 Jan 2014 11:53:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/cannot-pass-context-param-via-command-line-on-Linux/m-p/2200896#M3218</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-01-20T11:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: cannot pass context param via command line on Linux</title>
      <link>https://community.qlik.com/t5/Talend-Studio/cannot-pass-context-param-via-command-line-on-Linux/m-p/2200897#M3219</link>
      <description>Hi Akshath, 
&lt;BR /&gt;Could you please stick to your topic 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vClcqCAC" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/Context-Variable/td-p/80268&lt;/A&gt;. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 21 Jan 2014 02:48:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/cannot-pass-context-param-via-command-line-on-Linux/m-p/2200897#M3219</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-21T02:48:31Z</dc:date>
    </item>
  </channel>
</rss>

