- From: Jan Pertermann <j.pertermann@srz.de>
- Date: Wed, 31 Jan 2018 17:21:18 +0100
- To: "'Achim Berndzen'" <achim.berndzen@xml-project.com>
- Cc: xproc-dev@w3.org
To complete this topic: Currently, it is (by accident) not possible to directly put additional classes / dependencies on the classpath, when you call Morgana XProc via commandline. A simple solution proposed by Achim, is to reference the required libs via Manifest file and this works well. Thanks again! Regards, Jan -- Jan Pertermann, Dipl.-Ing (FH) XML-Applikationsentwickler SRZ Berlin http://www.srz.de > -----Ursprüngliche Nachricht----- > Von: Achim Berndzen [mailto:achim.berndzen@xml-project.com] > Gesendet: Montag, 29. Januar 2018 17:27 > An: j.pertermann@srz.de > Cc: xproc-dev@w3.org > Betreff: 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 Wednesday, 31 January 2018 16:22:01 UTC