Is it possible to exclude one or more jars from a build?
Hi all. I have a question. Ik have a project containing several jobs, child jobs and custom routines and components. When I run the job in Talend (Open Studio 5.4.1), everything is working as expected: the console stays empty when no errors or warnings occur.
However, when I build the job as an autonomous job and execute the job from a shell (cmd in my case), the console contains the following lines:
--
log4j:WARN No appenders could be found for logger (org.apache.commons.httpclient
.params.DefaultHttpParams).
log4j:WARN Please initialize the log4j system properly.
--
This seems to be caused by either the existence of log4j-1.2.15.jar or the absence of a log4j.properties file.
Without the Log4j jar, everything is working fine.
As far as I can see, there are two possible solutions:
1. Somehow mark the log4j jar for exclusion in the job build;
2. Somehow add a log4j.properties file to the job build;
Of course, both solutions can be performed manually, but I want to make sure every new build is working correctly without performing any manual steps afterwards.
As an extra question: I would like to know which component causes the log4j jar to be there. Is there any way to find out?
Any help is much appreciated!
Hello,
I have a collision between guava versions. One comed from guava.jar itself and one comes from com.google.guava...jar when
using tRESTClient palette.
I can't seem to exclude this jar using mavan xmls.
Is there another way?
Thank you
Hi @xdshi,
I have the same
sysmq's problem!!! I tried to exclude JAR files, as you suggested but I had thi Exception: Unresolved requirement: Require-Bundle: com.google.guava; bundle-version="[14.0.1,16.0.0)".
I
need to use tRESTClient palette and I
need to use GUAVA version 20.
I'd like a reply as soon as possible. Thank you.