<?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 Get current project directory in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Get-current-project-directory/m-p/2372559#M135385</link>
    <description>&lt;P&gt;Hello&lt;/P&gt; 
&lt;P&gt;I am using the Talend Studio with Git.&lt;/P&gt; 
&lt;P&gt;we are using one git repository per project.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;When I checkout a project and create a local branch it seems to create a folder called&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;/Users/me/talend-workspace/.repositories/1942550470/branches/develop/TESTPROJECT&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I was wondering if I can get this file location through the studio?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Looking through system envs and properties I can see that I get a&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;HOME=/Users/me&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;env but not much else.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Is there a way of getting more/all of this path programmatically....?&lt;/P&gt; 
&lt;P&gt;seems impossible to construct given the numerical folder....?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;cheers&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;n9999&lt;/P&gt;</description>
    <pubDate>Thu, 21 Dec 2017 15:08:08 GMT</pubDate>
    <dc:creator>n999</dc:creator>
    <dc:date>2017-12-21T15:08:08Z</dc:date>
    <item>
      <title>Get current project directory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-current-project-directory/m-p/2372559#M135385</link>
      <description>&lt;P&gt;Hello&lt;/P&gt; 
&lt;P&gt;I am using the Talend Studio with Git.&lt;/P&gt; 
&lt;P&gt;we are using one git repository per project.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;When I checkout a project and create a local branch it seems to create a folder called&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;/Users/me/talend-workspace/.repositories/1942550470/branches/develop/TESTPROJECT&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I was wondering if I can get this file location through the studio?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Looking through system envs and properties I can see that I get a&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;HOME=/Users/me&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;env but not much else.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Is there a way of getting more/all of this path programmatically....?&lt;/P&gt; 
&lt;P&gt;seems impossible to construct given the numerical folder....?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;cheers&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;n9999&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 15:08:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-current-project-directory/m-p/2372559#M135385</guid>
      <dc:creator>n999</dc:creator>
      <dc:date>2017-12-21T15:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Get current project directory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-current-project-directory/m-p/2372560#M135386</link>
      <description>Hi 
&lt;BR /&gt;Can i know why you need to get this path?
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 22 Dec 2017 09:24:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-current-project-directory/m-p/2372560#M135386</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-22T09:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Get current project directory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-current-project-directory/m-p/2372561#M135387</link>
      <description>Hi.&lt;BR /&gt;&lt;BR /&gt;I would like to load some part of my context (Project wide properties that&lt;BR /&gt;are fixed across environments) from an external file at the root of my git&lt;BR /&gt;repository.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;Nomit&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Dec 2017 14:58:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-current-project-directory/m-p/2372561#M135387</guid>
      <dc:creator>n999</dc:creator>
      <dc:date>2017-12-22T14:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Get current project directory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-current-project-directory/m-p/2372562#M135388</link>
      <description>&lt;P&gt;Hi Nomit &lt;BR /&gt;I have asked to our developers and was told that it is impossible to get this path programmatically in a job. For shared property file, we would suggest to put it to a server like FTP server, S3 server etc, download the file and load the value of context variable in the beginning of job, or store the value in database. &lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Shong&lt;/P&gt;</description>
      <pubDate>Mon, 25 Dec 2017 08:50:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-current-project-directory/m-p/2372562#M135388</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-25T08:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Get current project directory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-current-project-directory/m-p/2372563#M135389</link>
      <description>&lt;P&gt;That would be&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="typ"&gt;System&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;getProperty&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;(&lt;/SPAN&gt;&lt;SPAN class="str"&gt;"user.dir"&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 13:04:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-current-project-directory/m-p/2372563#M135389</guid>
      <dc:creator>Askelia</dc:creator>
      <dc:date>2020-04-17T13:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Get current project directory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-current-project-directory/m-p/2372564#M135390</link>
      <description>&lt;P&gt;That gives you the folder of where your talend runtime is but not necessarily where your workspace/projects are.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 12:53:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-current-project-directory/m-p/2372564#M135390</guid>
      <dc:creator>n999</dc:creator>
      <dc:date>2020-04-24T12:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Get current project directory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-current-project-directory/m-p/2372565#M135391</link>
      <description>&lt;P&gt;Hi, in case anyone still needs this (we did !), you can get this directory by accessing the system properties :&lt;/P&gt;&lt;P&gt;System.getProperty("java.class.path")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Inside the classpath are several semicolon separated folders, one of which contains the &lt;/P&gt;&lt;P&gt;/Users/me/talend-workspace/.repositories/1942550470/branches/develop/TESTPROJECT&lt;/P&gt;&lt;P&gt;directory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers !&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 15:17:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-current-project-directory/m-p/2372565#M135391</guid>
      <dc:creator>LouisM1</dc:creator>
      <dc:date>2021-06-03T15:17:42Z</dc:date>
    </item>
  </channel>
</rss>

