Hi Adam,
thanks for the hint. Maven is not part of our build environment. We are
using an ant/ivy combination.
Which one would be the supervisor's lib directory? Why is it not
recommended to be used? We intend to run only one dedicated topology
anyway, so interference between those is not an issue.
Harald
On 19.02.2014 15:25, Adam Lewis wrote:
Is it possible for you to use maven to build your fat jar? Check out
the maven shade plugin, which has handling for things like META-INF, and
some special cases (like services manifests) such as merging those from
multiple jar files.
http://maven.apache.org/plugins/maven-shade-plugin/examples/resource-transformers.html
The (not recommended) alternative is to place your JARs in the
supervisor's lib directory.
On Wed, Feb 19, 2014 at 9:15 AM, Harald Kirsch
<[email protected] <mailto:[email protected]>> wrote:
I am trying to use tika-parsers-1.4.jar in a self-build fat jar,
meaning I just unjar all jars into one directory and jar the result
into one fat jar.
The problem is, that this produces an unreliable META-INF, so just
before running jar, I delete the META-INF directory.
This seemed to work, except that tika-parsers does not work anymore.
No error, no exception, no log, it just returns nothing. And I can
boil this down to the META-INF.
Now, there might be a way to hand-craft a fat jar that works.
However I wonder if there is a better way to add additional jars to
a topology?
Harald.
--
Harald Kirsch
Raytion GmbH
Kaiser-Friedrich-Ring 74
40547 Duesseldorf
Fon +49-211-550266-0
Fax +49-211-550266-19
http://www.raytion.com