<?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: TOS: user.dir system property (v6 Vs v7) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/TOS-user-dir-system-property-v6-Vs-v7/m-p/2277830#M53481</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000006eKOgAAM"&gt;@nthampi&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Is there any solution to set user.dir path like was in 6.4 version? We have all project created with path like that ./input and where it was in talend everything is working fine. Now to test anything we need to copy testing file to workspace which is problematic to find at the beggining.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regrads,&lt;/P&gt; 
&lt;P&gt;Mateusz&lt;/P&gt;</description>
    <pubDate>Mon, 20 Apr 2020 08:14:27 GMT</pubDate>
    <dc:creator>UseThat</dc:creator>
    <dc:date>2020-04-20T08:14:27Z</dc:date>
    <item>
      <title>TOS: user.dir system property (v6 Vs v7)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TOS-user-dir-system-property-v6-Vs-v7/m-p/2277827#M53478</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My question is about user.dir system property (TOS v6 Vs TOS v7).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In Talend v6 TOS,&amp;nbsp;System.out.println(System.getProperty("user.dir")) expression returns:&amp;nbsp;&lt;FONT color="#3366FF"&gt;C:\Talend&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, in Talend v7 TOS, same expression returns:&amp;nbsp;&lt;FONT color="#3366FF"&gt;C:\Talend\TOS_DI-Win32-20190620_1446-V7.2.1\workspace\{project}\poms\jobs\process\{job}\src\main\ext-resources&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When jobs are built,&amp;nbsp;System.getProperty("user.dir") returns the same localization where .bat file is, both in v6 and v7.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Concerning the TOS, this difference is a bug or is it normal?&amp;nbsp;This is a&amp;nbsp;&lt;SPAN&gt;little bit disturbing for the use of relative paths, e.g. "./xxx" or "../xxx".&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Boulissom&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:59:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TOS-user-dir-system-property-v6-Vs-v7/m-p/2277827#M53478</guid>
      <dc:creator>EricMoss</dc:creator>
      <dc:date>2024-11-16T03:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: TOS: user.dir system property (v6 Vs v7)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TOS-user-dir-system-property-v6-Vs-v7/m-p/2277828#M53479</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Could you please provide the use case where you are using this value in your job?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt;
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2019 15:35:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TOS-user-dir-system-property-v6-Vs-v7/m-p/2277828#M53479</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-28T15:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: TOS: user.dir system property (v6 Vs v7)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TOS-user-dir-system-property-v6-Vs-v7/m-p/2277829#M53480</link>
      <description>&lt;P&gt;Hello&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;Thanks for your reply and sorry for the delayed feedback - some problems with my account.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The issue encountered is finally the same that this one encountered by other users (without anwser):&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCkt2CAC" target="_blank" rel="noopener"&gt;https://community.talend.com/t5/Design-and-Development/Setting-the-default-directory-in-TOS-6-4-vs-7-1/td-p/141977&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Relative paths can be usefull if you want to be totally agnostic, not depend from the environment where Jobs built will be deployed (e.g. in the case where you would like use a .ini or .properties file).&lt;BR /&gt;&lt;BR /&gt;I know that a workaround exists: use context to set paths. But I don't understand why&amp;nbsp;&lt;SPAN&gt;user.dir system property is not the same anymore for NOT built and built Jobs in Talend v7.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Boulissom&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 15:33:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TOS-user-dir-system-property-v6-Vs-v7/m-p/2277829#M53480</guid>
      <dc:creator>EricMoss</dc:creator>
      <dc:date>2019-12-20T15:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: TOS: user.dir system property (v6 Vs v7)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TOS-user-dir-system-property-v6-Vs-v7/m-p/2277830#M53481</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000006eKOgAAM"&gt;@nthampi&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Is there any solution to set user.dir path like was in 6.4 version? We have all project created with path like that ./input and where it was in talend everything is working fine. Now to test anything we need to copy testing file to workspace which is problematic to find at the beggining.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regrads,&lt;/P&gt; 
&lt;P&gt;Mateusz&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 08:14:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TOS-user-dir-system-property-v6-Vs-v7/m-p/2277830#M53481</guid>
      <dc:creator>UseThat</dc:creator>
      <dc:date>2020-04-20T08:14:27Z</dc:date>
    </item>
  </channel>
</rss>

