Re: Morgana XProc extension dev - problem with additional java dependencies

Hi Jan,
could you please send me an example of what you are trying to do.
If I understand it correctly writing an extension class works, but I am not sure I got the point in your third paragraph.

Please feel free to contact directly via email (in German or English).

Greetings from Wolfenbüttel,
Achim
------------------------------------------------
Achim Berndzen
achim.berndzen@xml-project.com

<xml-project /> Achim Berndzen
Kleine Breite 26a
38302 Wolfenbüttel, Germany

http://www.xml-project.com





> Am 29.01.2018 um 14:19 schrieb Jan Pertermann <j.pertermann@srz.de>:
> 
> 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 16:27:31 UTC