I'm having a problem due to a library conflict. I have a subjob which uses a S3 component (it has as dependency httpclient-4.2.1). And I have another subjob where I need to used the httpclient-4.3.5 library through tLibraryLoad.
If I build the main job using Talend Studio, whose includes both subjobs. The zip generated includes both libraries in the 'lib' folder inside the zip file. And in the classpath of the java command inside the sh file (which it comes included in the zip file also), it contains both libraries. This classpath puts first the http-client-4.2.1 library. And if I import this build file and run the task associated, I have a problem due to a conflict between these libraries.
But when I build the job through the command line, it generates a zip file with both libraries too. But in the classpath inside the sh file, it comes first the httpclient-4.3.5 library. In this way, when I run the task, I don't have any libraries conflict.
So, my question it's if it exists any configuration in Talend Studio to build the jobs like command line or something to indicate libraries preference in the classpath.
Could you please indicate on which build version you got this issue? Screenshots of your job setting will be preferred.
My Talend studio build version is:
Build id: 20141207_1530
About the screenshots of my settings. I don't know what settings do you refer. If you specify it, I can post it.
Could you please post your job design screenshots into forum? Does this issue repro on other build version?
I cann't change the build version. We only work with this version. I also post the screenshot of both subjobs. Both of them are included inside the same main job, and it's necessary use the httpClient-4.3.5 in the first subjob.