Screwtape
Screwtape

Reputation: 1367

How to prevent Talend ESB including unwanted libraries in built .kar file?

I have a series of routes built through Talend ESB 6.5.1.

Some of these routes use custom beans, and these beans use java libraries which are in the Talend Studio repository.

However, Talend seems to include all the libraries for all the beans in every route (in the route jar file lib folder), regardless of either a) if the bean in question is used, and b) if the library needed at all, because it can be imported in Karaf anyway.

Because of version incompatibilities with the libraries in the Karaf runtime environment, these routes don't work if the libraries are included.

Is there a way of preventing Talend from bundling these libraries with the route?

Thanks!

Upvotes: 0

Views: 235

Answers (1)

resatz
resatz

Reputation: 576

There's a dependencies tab 3rd one(Designer,Code,Dependencies), while opening the route in the IDE. it will list the dependencies. There's an option to remove the unwanted dependencies.

Upvotes: 0

Related Questions