<?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: Hard coded values in assembly.xml files in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Hard-coded-values-in-assembly-xml-files/m-p/2313986#M142512</link>
    <description>&lt;P&gt;I am facing the same issue with Talend 7.3.1. The assembly file inside POM folder is getting hardcoded path for common jar files like below when we run or build the job.&lt;/P&gt;&lt;P&gt;&amp;lt;file&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;source&amp;gt;D:\TOS_ESB-20200219_1130-V7.3.1\Studio\configuration\.m2\repository\commons-beanutils\commons-beanutils\1.8.3\commons-beanutils-1.8.3.jar&amp;lt;/source&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;outputDirectory&amp;gt;lib&amp;lt;/outputDirectory&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;destName&amp;gt;commons-beanutils-1.8.3.jar&amp;lt;/destName&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/file&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;file&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;source&amp;gt;D:\TOS_ESB-20200219_1130-V7.3.1\Studio\configuration\.m2\repository\commons-beanutils\commons-beanutils\1.9.3\commons-beanutils-1.9.3.jar&amp;lt;/source&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;outputDirectory&amp;gt;lib&amp;lt;/outputDirectory&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;destName&amp;gt;commons-beanutils-1.9.3.jar&amp;lt;/destName&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/file&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help what project configuration is missing due to which these hard coded path are coming and why these jar files are not included in &amp;lt;dependencySet&amp;gt;&amp;lt;outputDirectory&amp;gt;lib&amp;lt;/outputDirectory&amp;gt;?&lt;/P&gt;</description>
    <pubDate>Thu, 08 Dec 2022 08:07:29 GMT</pubDate>
    <dc:creator>NBhagat</dc:creator>
    <dc:date>2022-12-08T08:07:29Z</dc:date>
    <item>
      <title>Hard coded values in assembly.xml files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Hard-coded-values-in-assembly-xml-files/m-p/2313985#M142510</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to compile Talend jobs outside the Talend Open Studio, using the generated "pom" directory in project folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But with the TOS DI last version, 7.4.1M6, assembly.xml files contain hard coded values of local path instead of something like ${basedir}, making difficult the compilation process with Maven on another computer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With new workspace, new project, new job, after the code generation :&lt;/P&gt;&lt;P&gt;C:\Talend\proj\TOS_DI-20201015_1726-V7.4.1M3\workspace\LOCAL_PROJECT\poms\jobs\process\job1_0.1\src\main\assemblies\assembly.xml&lt;/P&gt;&lt;P&gt;file contains :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;(...)&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;	&amp;lt;file&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;source&amp;gt;&lt;/P&gt;&lt;P&gt;C:\Talend\proj\TOS_DI-20201015_1726-V7.4.1M3\configuration\.m2\repository&lt;/P&gt;\org\dom4j\dom4j\2.1.3\dom4j-2.1.3.jar&amp;lt;/source&amp;gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;outputDirectory&amp;gt;lib&amp;lt;/outputDirectory&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;destName&amp;gt;dom4j-2.1.3.jar&amp;lt;/destName&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/file&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;file&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;source&amp;gt;&lt;/P&gt;&lt;P&gt;C:\Talend\proj\TOS_DI-20201015_1726-V7.4.1M3\configuration\.m2\repository&lt;/P&gt;\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar&amp;lt;/source&amp;gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;outputDirectory&amp;gt;lib&amp;lt;/outputDirectory&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;destName&amp;gt;slf4j-api-1.7.25.jar&amp;lt;/destName&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/file&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;(...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Furthermore, those 2 libraries (dom4j-2.1.3.jar and slf4j-api-1.7.25.jar) are not required for the job execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 questions :&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;How to avoid those 2 hard coded directories ?&lt;/LI&gt;&lt;LI&gt;Can it be corrected/variabilize in next TOS release ?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Vianney&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:35:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Hard-coded-values-in-assembly-xml-files/m-p/2313985#M142510</guid>
      <dc:creator>Vianney</dc:creator>
      <dc:date>2024-11-16T00:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Hard coded values in assembly.xml files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Hard-coded-values-in-assembly-xml-files/m-p/2313986#M142512</link>
      <description>&lt;P&gt;I am facing the same issue with Talend 7.3.1. The assembly file inside POM folder is getting hardcoded path for common jar files like below when we run or build the job.&lt;/P&gt;&lt;P&gt;&amp;lt;file&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;source&amp;gt;D:\TOS_ESB-20200219_1130-V7.3.1\Studio\configuration\.m2\repository\commons-beanutils\commons-beanutils\1.8.3\commons-beanutils-1.8.3.jar&amp;lt;/source&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;outputDirectory&amp;gt;lib&amp;lt;/outputDirectory&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;destName&amp;gt;commons-beanutils-1.8.3.jar&amp;lt;/destName&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/file&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;file&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;source&amp;gt;D:\TOS_ESB-20200219_1130-V7.3.1\Studio\configuration\.m2\repository\commons-beanutils\commons-beanutils\1.9.3\commons-beanutils-1.9.3.jar&amp;lt;/source&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;outputDirectory&amp;gt;lib&amp;lt;/outputDirectory&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;destName&amp;gt;commons-beanutils-1.9.3.jar&amp;lt;/destName&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/file&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help what project configuration is missing due to which these hard coded path are coming and why these jar files are not included in &amp;lt;dependencySet&amp;gt;&amp;lt;outputDirectory&amp;gt;lib&amp;lt;/outputDirectory&amp;gt;?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2022 08:07:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Hard-coded-values-in-assembly-xml-files/m-p/2313986#M142512</guid>
      <dc:creator>NBhagat</dc:creator>
      <dc:date>2022-12-08T08:07:29Z</dc:date>
    </item>
  </channel>
</rss>

