Morgana XProc extension dev - problem with additional java dependencies

Hi @all,

my first post on the mailing list so far - but not really an explicit
xproc-problem, so please forgive me, when you think this is not the right
place for such a topic. Sure, this is mainly addressed to Mr. Berndzen, but
maybe others already have some experience with it.

I am currently writing an extension step for Morgana XProc to get simple
information about an image (graphic file). Reading out an option "href",
resolving it and output a document with the full URI already works fine.
This functionality is simply be done with Morgana-provided classes. I put
the built JAR into Extensions and then registered the step package class via
Morgana config file.

Now, when I import other class dependencies and add more functionalities to
my custom step, I cannot simply drop the JAR's into the "Extensions" folder,
nor can I put these on the classpath, and even registering package names
within the config is not helping. I do always get a
"java.lang.NoClassDefFoundError" :-(

Ideas anybody?

Thanks and regards,
Jan


-- 
Jan Pertermann, Dipl.-Ing (FH)
XML-Applikationsentwickler

SRZ Berlin
http://www.srz.de

Received on Monday, 29 January 2018 13:36:26 UTC